Question: Write a C + + program that allows user to enter the grades of N students ( N is determinedby the user ) and stores
Write a C program that allows user to enter the grades of N students N is determinedby the user 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 aseparate function. In the main function, it takes the user input and call each of the userdefined functionsto 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 ofthem 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
