63 081
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #16493 in C++ for nardeen

Question #16493
1- Write a C++ program to define a class for Student, the class should have three 3 private member variables name of type char array size 10, age of type integer, and GPA of type float. Have two constructors ( one default no arguments and one with three values one for each member variable) and a setter and getter for each member variable, one destructor. Make sure to validate your input values inside setters and getters by checking age to be above 0, and GPA above 0 and less than or equal to 100.
Declare an array of five students
Declare a function to read values of the objects array
Declare a function to print the name of the student who has the maximum GPA.
Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions