Question: C++ Chapter 10 Practice 2: 2D Histogram Prob. 5 This programming project is based on Programming Projects 5.7. Write a program that outputs a histogram

C++
 C++ Chapter 10 Practice 2: 2D Histogram Prob. 5 This programming
project is based on Programming Projects 5.7. Write a program that outputs

Chapter 10 Practice 2: 2D Histogram Prob. 5 This programming project is based on Programming Projects 5.7. Write a program that outputs a histogram of grades for an assignment given to a class of students The program should input the number of students in the class and input each student's grade as an integer. The minimum value of a grade is 0 but your program should read the maximum scale from the user. Grades should be entered until the user enters -1 for a grade The program should then compute the grade histogram for each student. Use a dynamic array to store the 2D histogram. Output the histogram to the console Practice 2: Sample Dialogue nter the number of students in the class: 4 nter the maximum value of grade: 5 nter each student grades from 0 to 5 and-1 to stop Student 1's grades: 1 2 3 45012 3 45 -1 Stude 2 s grades: 31 1023 -1 Student 3's grades: 22 452312 -1 Student 4's grades: 4 4 3 00 -1 isplay each student's grades rades tudent 1: tudent 2 tudent 3: tudent 4: 0 2 0 0 2 0

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!