Question: please complete in C++ coding and this assignment is on structs. The purpose of this assignment is to give you some experience working with structs.

please complete in C++ coding and this assignment is on structs.
please complete in C++ coding and this assignment is on structs. The
purpose of this assignment is to give you some experience working with

The purpose of this assignment is to give you some experience working with structs. Overview In this assignment, you'll write a program that lets you enter, store, and display student names, houses (Gryffindor, Hufflepuff, Ravenclaw, or Slytherin) and GPAS. The data will be stored in an array of structs. Operational Details The program should display a menu with the following options: 1. Add a student - gets info from the user and adds it to the array 2. List Students - lists the name, house, and GPA for each student. 3. List student(s) with the highest GPA - lists the name, house, and GPA for the student(s) with the highest GPA. Note that more than one student may be tied for highest GPA, so you may need to list multiple students. When an option is taken that action should be carried out and the menu redisplayed. Technical Details Student data should be stored in an array of structs. The data to be stored for each student is: 1 Name 1 House (Gryffindor, Hufflepuff, Ravenclaw or Slytherin) 1 GPA Data should be stored for 10 students (changing this number should be a one-line change and recompile). The program should be organized into multiple functions. At a minimum, each of the three menu options should be implemented in its own function. In general, each function should do one thing and there should be no duplication. As always, the program should be well written and easy to follow. Extra Credit Rather than manually entering the house for each student, make your program ask a couple of questions in order to sort a student into the correct house. Since there are only 4 possible houses (Gryffindor, Hufflepuff, Ravenclaw or Slytherin), two yes-or-no questions should be sufficient in order to produce the 4 unique outcomes. This addition is worth up to 10 points of extra credit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!