Write a program when completed will compute three statistics
for a set of floating-point values. These statistics include:
a) the count of all numbers,
b) the number of items below a lower threshold, and
c) the number of items above an upper threshold.
A sample run is as follows, where 20 was input as the lower
threshold, 40 was input as the upper threshold, and the
numbers: 19 30 0 33 45.8 30.5 48.8 60.3 20 were entered
to process.
Enter lower threshold: 20
Enter upper threshold: 40
19 30 0 33 45.8 30.5 48.8 60.3 20
Total count of numbers: 9
Below 20.000: 2
Above 40.000: 3 |
so i am writing a program for my job and i seem to be at a stand still with this portion of it. I have defined how i want to do it i just can't get the coding correct
any help would be great