Create application to pre-sell a limited number of concert tickets. Each buyer can buy as many as 5 tickets. No
more than 40 tickets can be sold. Implement program 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. Use a complex if statement. Several criteria that must be met in order for the tickets to be reduced - the requested number of tickets has to be between 1 and 5 and there have to be tickets remaining for the number they selected. If these criteria are met, then the buyers increase and the remaining tickets decrease. Otherwise, we just prompt for another ticket amount until the remaining tickets is equal to zero.
NO Infinite loops please.