Question: Integer num _ desks is read from input. If num _ desks is less than 9 , then output 'Not many desks'. Otherwise, output 'Plenty

Integer num_desks is read from input. If num_desks is less than 9, then output 'Not many desks'. Otherwise, output 'Plenty of desks'.
Click here for examples
Ex 1: If the input is 8, then the output is:
Not many desks
Ex 2: If the input is 10, then the output is:
Plenty of desks

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!