Write a program that prompts the user:
"How many degrees is it inside today? "
and then starting at that number entered, displays the...
Write a program that prompts the user:
"How many degrees is it inside today? "
and then starting at that number entered, displays the temperature (on its own line) as long as the current temperature is 75 degrees or higher. After displaying the current temperature, it should decrease by 1 degree.
If it has decreased below 75 degrees, it should not show the temperature and should then display:
"It is cool inside now, the AC is turning off. "
followed by an endline.
Complete the code within the brackets ({ }
) below.
Your feedback will appear here when you check your answer.