© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
big willy

❔ c# hw help

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 from -20 to 130. Please reenter temperature
Before the program ends, display the number of temperatures entered and the average temperature.

using System;
using static System.Console;
class DailyTemps
{
static void Main()
{
// Write your main here.
}
}

im just really lost here and need help on pretty much this whole problem. if anyone can help at all i'd appreciate it very much!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

c# hw help
C#CC# / help
5mo ago
❔ hw help
C#CC# / help
4y ago
❔ help in hw
C#CC# / help
3y ago
✅ some help in hw
C#CC# / help
3y ago