Drama Solution
Drama Solution
SeatsBooked <- 0
#Calculating the number of setas already booked
FOR RowIndex<- 1 TO 10
FOR SeatIndex<- 1 TO 20
IF Evening[RowIndex,SeatIndex] = TRUE THEN
SeatsBooked <- SeatsBooked +1
ENDIF
NEXT SeatIndex
NEXT RowIndex
FreeSeats <- 200 -SeatsBooked # Calculate the number of free seats
OUTPUT "Enter the number of seats to book(Maximum 4):"
INPUT SeatsToBook