Question: Write a program that outputs a histogram of student grades for an assignment. The program should input each student s grade as an integer and

Write a program that outputs a histogram of student grades for an assignment.
The program should input each students grade as an integer and store the grade in an
array. Grades should be entered until the user enters 1 for a grade. The program should
then scan through the array and compute the histogram. In computing the histogram, the
minimum value of a grade is 0 but your program should determine the maximum value
entered by the user. Use a dynamic array to store the histogram. Output the histogram
to the console. For example, if the input is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!