Question: When the input integer variable dinerCount is: greater than 1 0 , output Too many diners. between 5 inclusive and 1 0 inclusive, output Large
When the input integer variable dinerCount is:
greater than output "Too many diners".
between inclusive and inclusive, output "Large table".
between inclusive and inclusive, output "Small table".
less than output "Bad input".When the input integer variable dinerCount is:
greater than output "Too many diners".
between inclusive and inclusive, output "Large table".
between inclusive and inclusive, output "Small table".
less than output "Bad input".
End with a newline.
Click here for examples
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
