a movie theater only keeps a percentage of the revenue earned from ticket sales. the remainder goes to the movie distributor. write a program