Count of all numbers which are greater than 49.9


Write a c++ progrma that reads N Positive numbers from keyboard, calculates and displays the following:

1. count of all numbers which are greater than 49.9 and less than 75.0. if no numbers greater than 49.9 and less than 75.0 are entered, o for the counter should be display

2. sum of all numbers which are greater than 49.9. if no numbers greater than 49.9 are entered, o for the sum value should be display

3. average of all numbers which are greater than 49.9. if no number greater than 49.9 are entered, o for all the average should display

4. smallest number of all numbers entered in the keyboard

5. descending order of two largest number enterd from the keyboard

6. value of P [where p=(largest number entered from the keyboard/100)*percentage; percentage=25]

N Should be declared as a constant in your program and should be equal to 10 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Count of all numbers which are greater than 49.9
Reference No:- TGS093730

Expected delivery within 24 Hours