Question: Write a C + + program that allows user to enter the grades of N students ( N is determined by the user N >
Write a C program that allows user to enter the grades of N students N is determined by the user N and stores them into an array. Then the program should output the information below. Note Your program should be structured using functions. Each functionality should be implemented in a separate function. In the main function, it takes the user input and call each of the userdefined functions to do the calculation and print out the results in the main function. highest grades, and the corresponding student indices. Median grade. Most frequently occurring grades. If multiple grades have the same highest frequency, list all of them. Grade distribution: Number of A grades grades equal or more than Number of B grades grades between inclusive and Number of C grades grades between inclusive and Number of D grades grades between inclusive and Number of F grades grades less than Hint You should use std::vector to store the grades.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
