A school organized a fundraising fair to help the elderly. 3 types of tickets are sold at the fair: raffle ticket, concert ticket, buffet ticket.
A person who purchases more than 10 lottery tickets receives one additional lottery ticket for free.
Write a program that will record for each participant in the fair the number of tickets he purchased from each of the three types. The program will calculate and print how many people attended the fair, how many tickets of each type were sold and how many raffle tickets were given for free. The program will end when the number of lottery tickets is taken - 1. can someone help me answer this question teacher told us to do it in a "while loop" i just cant figure it out