Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 237 Weeks Ago |
Questions Answered: | 12843 |
Tutorials Posted: | 12834 |
MBA, Ph.D in Management
Harvard university
Feb-1997 - Aug-2003
Professor
Strayer University
Jan-2007 - Present
This program will require you to use a loop with some IF statements. It will require you to repeat the loop for 7 times, for the 7 days of the week. Ask the user what the temperature will be for each day of the week. The integer input from the keyboard will be tested in a series of IF tests and the appropriate message will print out.
Â
90-100--"It's a scorcher! Turn on the air conditioning!"
80-89--"Another hot day! Go for a swim!"
70-79--"A good day to tend to your garden!"
60-69--"Bring along a sweater today!"
0-59--"Stay inside and study C programming!"
-----------