Java program help !

About the client

United States

Posted on Apr 03, 2016 / Est. budget $ 80 / Project closed

Awarded winner(s):


Question is :

You need a program to control the number of people who can be in an oyster bar at the same time. Groups of people can always leave the bar, but a group can not enter the bar if they would make the number of people in the bar exceed the maximum of 100 occupants. Write a program that reads the sizes of the groups that arrive or depart . Use negative numbers for departures. After each input , display the current number of occupants. As soon as the bar holds the maximum number of people, report that bar as full and exit the program

Provide outputs for 3 different tests that use different group sizes in each test

topics covered are while loops, do loops, and for loops .

Project bids (2)

Bids are visible only by project owner and Premium members.