Question: Create a program that allows the user to enter the gender (either F or M) and GPA (0.0 through 4.0) for any number of students.
Create a program that allows the user to enter the gender (either F or M) and GPA (0.0 through 4.0) for any number of students. The program should calculate and display the average GPA for all students, the average GPA for male students, and the average GPA for female students. If necessary, create a new project named Intermediate23 Project, and save it in the Cpp8\Chap07 folder. Enter the C++ instructions into a source file named Intermediate23.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Save, run, and test the program.
Step by Step Solution
3.46 Rating (159 Votes )
There are 3 Steps involved in it
include using namespace std int main in... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
2045_61d6ac343333d_838560.pdf
180 KBs PDF File
2045_61d6ac343333d_838560.docx
120 KBs Word File
