Create a program that allows the user to enter the gender (either F or M) and GPA

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. 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: