Problem:
Question- Write a program that outputs a histogram of students grades for an assignment. The program should input each student's grade as an integer and store the grade in a vector. Grades should be entered until the user enters a negative number for a grade. The program should then scan through the vector 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. Use top-down design, i.e. break the task down into subtasks.
Step by step instructions so I can understand would be greatly appreciated!