Question: Exercise 3 : ( write the code in java language and use netbeans program ) Write a Java program that asks the user to enter

Exercise 3:(write the code in java language and use netbeans program)
Write a Java program that asks the user to enter temperatures (in degrees Celsius) until a sentinel value of -1 is entered. The program should then display the number of entered temperatures, their sum, their average, and the highest temperature.
Sample Runs:Enter a temperature (-1 to end program): -1You didn't enter any value!
Exercise 3 : ( write the code in java language

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 Programming Questions!