Question: Write an application to pre-sell a limited number of cinema tickets. Each buyer can buy as many as 4 tickets. No more than 100 tickets
Write an application to pre-sell a limited number of cinema tickets. Each buyer can buy as many as 4 tickets. No more than 100 tickets can be sold. Implement a program called Ticket Seller that prompts the user for the desired number of tickets and then displays the number of remaining tickets. Repeat until all tickets have been sold, and then display the total number of buyers.
Step by Step Solution
3.53 Rating (160 Votes )
There are 3 Steps involved in it
import javaio public class TicketSeller public stati... View full answer
Get step-by-step solutions from verified subject matter experts
