Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help write this code You need to control the number of people who can be in a Restaurant. Customers can enter and leave. But,
please help write this code
You need to control the number of people who can be in a Restaurant. Customers can enter and leave. But, NO new customer can enter if there are 100 people in the Restaurant. In this case, a message Restaurant is full should be displayed. Use positive integer to count people entering the restaurant and negative integer when they leave.
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