- Delete All The Existing Code From Main Cpp You Will Write The Code In The File Main Cpp Write A C Program That Reads 1 (134.02 KiB) Viewed 62 times
Delete all the existing code from main.cpp. You will write the code in the file main.cpp Write a C++ program that reads
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Delete all the existing code from main.cpp. You will write the code in the file main.cpp Write a C++ program that reads
Delete all the existing code from main.cpp. You will write the code in the file main.cpp Write a C++ program that reads the number of students, N. The program asks the user to enter their GPAs and stores them in an array of type double (with max size 100). The program then determines the grade of each student based on their GPA and stores it an array of type char. The program prints each student's GPA and grade. Lastly, the lowest GPA and its corresponding index is printed. GPA Grade 3.75 -4.0 A 3.0 - 3.74 B С 2.0 - 2.99 D 1.0 - 1.99 F 0.0 - 0.99 Test the program with the input as shown below in the sample input/output. Sample Input/Output: Save and Submit Save All Answers