Question: Write the complete Java code for a method that will read a series of temperatures from the keyboard, and then display on the screen the

Write the complete Java code for a method that will read a series of temperatures from the keyboard, and then display on the screen the number of temperatures over 40 degrees, and the average of all the temperatures. The method will terminate when a temperature of -99 is entered. Your method should work for any number of temperatures entered.

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!