Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Simple C Program: Input a list of numbers. Trying to output the number of occurrences in three categories. 1) >= 70; 2) 50-69 ; 3)
Simple C Program: Input a list of numbers. Trying to output the number of occurrences in three categories. 1) >= 70; 2) 50-69 ; 3) < 50
I simply need a count for each one, so say I had the input 45 60 83 92 93 0 the output would be:
>=70 = 3
50-69= 1
< 50 = 1
Note Input ends with 0 and is not counted as an input integer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started