Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in c# and use while loop Instructions DailyTemps.cs + 1 using System; 2 using static System.Console; 3 class DailyTemps 4{ 5 static void Main()

Write in c# and use while loop image text in transcribed

Instructions DailyTemps.cs + 1 using System; 2 using static System.Console; 3 class DailyTemps 4{ 5 static void Main() 6 { 7 // Write your main here. 8 } 9} 10 Write an application named DailyTemps that continuously prompts a user for a series of daily high temperatures until the user enters a sentinel value of 999. Valid temperatures range from -20 through 130 Fahrenheit. When the user enters a valid temperature, add it to a total; when the user enters an invalid temperature, display the error message: Valid temperatures range Before the program ends, display the number of temperatures entered and the average temperature

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_2

Step: 3

blur-text-image_3

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

\f\f\f\f\f

Answered: 1 week ago