Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started