Question: Create a program called AverageTemperature2YourLastName . Using a for loop, prompt the user for 7 days worth of temperatures. Find the average temperatures after all

Create a program called AverageTemperature2YourLastName. Using a for loop, prompt the user for 7 days worth of temperatures. Find the average temperatures after all the prompting is complete. Return the average temperature as a double.

Remember: no magic numbers. Good, descriptive variable names. Brief comments that describe what the code is doing.

Submit your .java file. It's worth 10 points.

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!