$R6ZZ9OY
$R6ZZ9OY
LAB # 5
OBJECTIVE: To evaluate the Queue Variables
Task: Movie theater system
Design a Movie Theater in which customer arriving in the cinema house then assign a picture
then will check if the queue is greater than 10(limit of a queue) exit the ticket queue and go some
where else.After getting the ticket,check for refreshment.There are two canteens:satellite canteen
and a main canteen.People select refreshment from the available canteens otherwise they will
leave the food queue.Also record how many people leaves the food queue and ticket queue so
that theater administration take necessary actions for maintaining the theater.After taking
refreshment customer leaves the lobby and enter the theater.