The local cinema must send 80% of its ticket receipts to the movie distributor. The manager has asked you to write a small program that will print an invoice for weekly ticket income and profits for a given movie. Adult tickets sell for $7.50 and children tickets are $4.75. The program will ask the user for the name of the movie, the number of adults tickets sold, and the number of children tickets sold. Use a C-String to store the movie name. The program will compute the gross box office revenue, the distributor amount, and the net profit. It will then echo back the movie name along with the three computed values. It should display the amounts using a dollar sign and two decimal places (use setprecision() ). Use setw() to get the decimal places to align
-
Notifications
You must be signed in to change notification settings - Fork 0
First CS program
License
Kayla-J/Local-cinema-invoice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
First CS program
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published