Question: Not: use enipty ploject iol cuc Q. 01 (2 points) Write an if else statement that assigns 0 to x when y is equal to

Not: use enipty ploject iol cuc Q. 01 (2 points) Write an if else statement that assigns 0 to x when y is equal to 10. Otherwise it should assign 1 to x- Q. 02 (2 points) Write an if statement that prints the message The number is not valid" if the variable bours is outside the range 0 through 80
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
