Question: I need to create a java program that: 1. requests 7 separate double inputs from the user (no more, no less). I have tried looping

I need to create a java program that:

1. requests 7 separate double inputs from the user (no more, no less). I have tried looping and don't think it will work because the prompt shown to user must be (Enter #1, Enter #2, Enter #3, Enter #4, etc). The only import I can use is the scanner.

2. Evaluates those 7 user inputs, calculate and display : how many of the entries were at or above 20, how many of those entries were below 20, the highest value entered, the lowest value entered and the average of the values.

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!