Write a program to read in a collection of 5 exam scores ranging from 1 to 100. Your program should count and print the number of outstanding scores (90-100), the number of satisfactory scores (60- 89), and the number of unsatisfactory scores (1-59).

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter16: Searching, Sorting And Vector Type
Section: Chapter Questions
Problem 21PE
icon
Related questions
Question

HI! Need this asap. Help me code this in C PROGRAMMING LANGUAGE. Make sure its working. Provide the source code in text that I can copy. I give a thumbs up if tis working 

2. Write a program to read in a collection of 5 exam scores ranging
from 1 to 100. Your program should count and print the number of
outstanding scores (90-100), the number of satisfactory scores (60-
89), and the number of unsatisfactory scores (1-59).
(Note: It is a requirement that you answer it using Iteration or Array)
Sample Output:
Enter 5 Exam Scores:
Exam Score No. 1 => 91
Exam Score No. 2 => 75
Exam Score No.3 => 85
Exam Score No. 4 => 55
Exam Score No. 5 => 90
No. of Outstanding Scores
No. of Satisfactory Scores
: 2
No. of Unsatisfactory Scores : 1
Transcribed Image Text:2. Write a program to read in a collection of 5 exam scores ranging from 1 to 100. Your program should count and print the number of outstanding scores (90-100), the number of satisfactory scores (60- 89), and the number of unsatisfactory scores (1-59). (Note: It is a requirement that you answer it using Iteration or Array) Sample Output: Enter 5 Exam Scores: Exam Score No. 1 => 91 Exam Score No. 2 => 75 Exam Score No.3 => 85 Exam Score No. 4 => 55 Exam Score No. 5 => 90 No. of Outstanding Scores No. of Satisfactory Scores : 2 No. of Unsatisfactory Scores : 1
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning