Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions

Question

=+a) What kind of design or study is this?

Answered: 1 week ago

Question

Explain the relationship between language and culture

Answered: 1 week ago

Question

Compare and contrast elaborated and restricted codes

Answered: 1 week ago