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

1 Expert Approved Answer
Step: 1 Unlock

include using namespace std int main in... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

2045_61d6ac343333d_838560.pdf

180 KBs PDF File

Word file Icon

2045_61d6ac343333d_838560.docx

120 KBs Word File

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!