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

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 Databases Questions!