subject

Using C++, generate a text-based histogram for a quiz given to a class of students. The quiz is graded on a scale from 0 to 5. Write a program that allows the user to enter grades for each student. As the grades are being entered, the program should count, using an array , the number of 0s, the number of 2s, the number of 4s. The program should be capable of handling an arbitrary number of student grades. You can do this by making an array of size 6, where each array element is initialized to zero. Whenever a zero is entered, increment the value in the array at index 0. Whenever a one is entered, increment the value in the array at index 1, and so on, up to index 5 of the array .

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:30
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
True or false: a power supply is an electrical transformer that regulates the electricity used by the computer.
Answers: 1
question
Computers and Technology, 26.06.2019 01:00
Which of these refer to information about the variables in mail merges? a. template b. email c. data source d. letter e. folder
Answers: 1
You know the right answer?
Using C++, generate a text-based histogram for a quiz given to a class of students. The quiz is grad...
Questions
question
World Languages, 19.03.2020 21:03
question
English, 19.03.2020 21:03
Questions on the website: 13722363