Problem Statement 3

 Write a program to help XYZ movie theater to calculate their profit. Each customer pays $5 per ticket. Every performance costs the theater $20, plus $.50 per attendee. Develop the program that accepts the number of attendees (of a show) and calculates how much profit the show earns.

SAMPLE INPUT

Number of attendees: 72

SAMPLE OUTPUT

Income: 360

Profit: 304

Sample Program:

Sample Output:

Enter the no. of attendance in theater:
72
Income: 360
Profit: 304

Any queries leave a comment please and thanks for reading this post.

Leave a Reply

Your email address will not be published. Required fields are marked *