subject
Computers and Technology, 12.03.2020 02:41 Inriso

Student Profile Create a Student class. Student should have the following data members: name_, cmajor_, cwid_, and gpa_. Their corresponding data types should be as follows: a std::string, a std::string, an unsigned int, and a double. Provide accessors and mutators for each data member. In the main function, the program asks the user for an unsigned int number that controls the number of student objects that will be created. Follow the instructions in main. cpp to create the necessary arrays, create the correct Student object, and store the object in the array appropriately. Create the function called average_gpa that accepts a Student array and the number of elements inside it. The function must traverse the array and retrieve the individual Student gpas to compute their average. The function should return the average. average_gpa is called from the main function and is given access to the array that was constructed together with the number of elements it holds. Take note that the average_gpa function is not part of the Student class. Please make sure to create the Student class and average_gpa function prototypes in student_profile. hpp. average_gpa's implementation should be placed in student_profile. cpp. Please see the sample output below to guide the design of your program. Sample Output

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
Dr. wisteria is a prominent chiropractor in the chicago area. she wants to provide a forum for her patients to discuss their health concerns and to seek and offer advice to other patients. which telecommunications tool is most appropriate for dr. wisteria's needs?
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
You know the right answer?
Student Profile Create a Student class. Student should have the following data members: name_, cmajo...
Questions
question
Mathematics, 04.09.2020 01:01
question
Mathematics, 04.09.2020 01:01
question
Spanish, 04.09.2020 01:01
question
History, 04.09.2020 01:01
question
Mathematics, 04.09.2020 01:01
Questions on the website: 13722361