Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Microsoft Visual C# 2017 page 260 Please keep these as basic as possible so that I can understand and follow how it was done. 3.

Microsoft Visual C# 2017 page 260

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

3. Write a program named TemperaturesComparison that allows a user to input five daily Fahrenheit temperatures that must range from 30 to 130; if a temperature is out of range, require the user to reenter it. If no temperature is lower than any previous one, display a message Getting warmer. If every temperature is lower than the previous one, display a message Getting cooler. If the temperatures are not entered in either ascending or descending order, display a message Its a mixed bag. Finally, display the temperatures in the order they were entered, and then display the average of the temperatures.

The results should look like this:

image text in transcribedimage text in transcribedimage text in transcribed

CAWINDOWS)system321cmd.exe Enter temperature 1 >> 7e Enter temperature 2 > 68 Enter temperature 3 66 Enter temperature 4 40 Out of range - please reenter. Enter temperature 4 64 Enter temperature 5 Getting cooler: 62 78 68 66 64 62 Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

1. PricewaterhouseCoopers

Answered: 1 week ago

Question

3. SCC Soft Computer

Answered: 1 week ago