Question: 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

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!