Question: my _ money is read from input. Write multiple if statements: If my _ money is greater than 1 1 , then output 'Buy a

my_money is read from input. Write multiple if statements:
If my_money is greater than 11, then output 'Buy a hat.'
If my_money is greater than 17, then output 'Buy new shoes.'
If my_money is less than or equal to 1, then output 'Save money.'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!