Question: Microsoft Visual C# 2017 page 182 Please keep this as basic as possible so that I can understand and follow how it was done. The

Microsoft Visual C# 2017 page 182

Please keep this as basic as possible so that I can understand and follow how it was done.

The solution must include the following:

Write an application named DailyTemps that continuously prompts a user for a series of daily high temperatures until the user enters a sentinel value. Valid temperatures range from 220 through 130 Fahrenheit. When the user enters a valid temperature, add it to a total; when the user enters an invalid temperature, display an error message. Before the program ends, display the number of temperatures entered and the average temperature.

The result should look like this:

Microsoft Visual C# 2017 page 182 Please keep this as basic as

CAWINDOWS1 system321cmd.exe Enter temperature >> 98 Enter another temperature or 999 to quit > 96 Enter another temperature or 999 to quit > 89 Enter another temperature or 999 to quit >> 92 Enter another temperature or 999 to quit > 96 Enter another temperature or 999 to quit > 999 The average of the 5 valid temperatures entered is 94.2 Press any key to continue

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!