Question: I need help with this full Java Code. Prompt for and read seven temperatures from the console. These seven numbers can be any positive, 3.

I need help with this full Java Code.

I need help with this full Java Code. Prompt for and read

seven temperatures from the console. These seven numbers can be any positive,

Prompt for and read seven temperatures from the console. These seven numbers can be any positive, 3. Get input from the user. negative floating-point number or zero. Use a Scanner object for user input. Using the seven temperatures, calculate the following - number of temperatures at or above freezing, - number of temperatures below freezing, 4. Calculate statistics for the temperatures. - the highest temperature entered, - the lowest temperature entered, - the average temperature. Freezing is 32 degrees. Display the statistics using System.out. The format of the output is shown below. Sample input and output is displayed below. Rerun your 6. Test your application. application for each test case. Watch this video to see how the application must work (1:40min). 7. Comment your code. Add comments to the top of your source code file for your name and the date. Test Case \#1 Enter temperature \#1: 86.5 Enter temperature \#2: 0.0 Enter temperature \#3: 32.9 Enter temperature \#4: -15.3 Enter temperature \#5: 45.55 Enter temperature \#6: 84.2 Enter temperature \#7: -5.0 Number At or Above Freezing: 4 Number Below Freezing: 3 Highest temperature: 86.5 Lowest temperature: 15.3 Average temperature: 32.69 Test Case \#2 Enter temperature \#1: 45.6 Enter temperature \#2: 32.0 Enter temperature \#3: 23.99 Enter temperature \#4: 16.5 Enter temperature \#5: 56.12 Enter temperature \#6: 66.0 Enter temperature \#7: 13.9 Number At or Above Freezing: 4 Number Below Freezing: 3 Highest temperature: 66.0 Lowest temperature: 13.9 Average temperature: 36.30

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!