Need a help with this programs for each of the following problem statements:   - USE C++ to solve this. (Dev C++)  - use of comment statements - use of descriptive variable names  1. (gcount)  A program that will accept any number of grades for an exam. The grades will be input as 4 for an A, 3 for a B, 2 for a C, 1 for a D, and 0 for an F. After all grades have been entered, allow the user to enter -1 to exit. Output the number of grades in each category.  - correct use of array of counters  - correct use of loop  - correct output

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section: Chapter Questions
Problem 12PP: (General math) a. A balance has the following weights: 100 lb, 50 lb, 10 lb, 5 lb, and 1 lb. The...
icon
Related questions
Question

Need a help with this programs for each of the following problem statements: 


 - USE C++ to solve this. (Dev C++)
 - use of comment statements
- use of descriptive variable names 

1. (gcount)  A program that will accept any number of grades for
an exam. The grades will be input as 4 for an A, 3 for a B, 2 for a C, 1
for a D, and 0 for an F. After all grades have been entered, allow the
user to enter -1 to exit. Output the number of grades in each category.
 - correct use of array of counters
 - correct use of loop
 - correct output

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning