Question: 1)write true or false for y =y 2) Write an if statement that prints the message The number is valid if the variable temperature is
1)write true or false for y
2) Write an if statement that prints the message "The number is valid" if the variable temperature is within the range -50 through 150.
3)Write an if statement that prints the message "The number is not valid if the variable hours is outside the range 0 through 80.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
