I would like to create a program with a Student class, which will have semesterHours and gpa as data members that will keep track of the overall semesterHours and gpa for the student respectively. The Student class will also have an addCourse member function that will take an hour and a grade parameter. The hour value is the number of credit hours that the course is worth (such as 3 - - for 3 credit hours). The grade is the integer equivalent of the letter grade - - 4 for A, 3 for B, 2 for C, 1 for D, and 0 for F. The user will enter the hours and grade integer values and the addCourse function will update the overall semesterHours and gpa values accordingly.
The program will prompt the user for the initial semesterHours and gpa values, then enter a repetition structure prompting the user for the hours and grade values until the user enters a sentinel value to stop entering course values, then display the semesterHours and gpa after exiting the loop.
I am really lost with this one. Any suggestions on how to begin?