Question: 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
Get step-by-step solutions from verified subject matter experts
