Question: Java programming help... explanation would help, please!! The local movie theater charges the following amounts for admission: adults (18 - 60) : $12 children (17
Java programming help... explanation would help, please!!
The local movie theater charges the following amounts for admission:
adults (18 - 60) : $12 children (17 and under) $8 senior citizens (60+): $10
The theater is currently offering a 20% discount on the ticket price if you bring a canned good for the local food drive.
Write a program that asks the user for their age and if they brought a canned good. Then calculate and display the amount of the ticket.
For the canned good portion provide the following prompt: Did you bring an item for the food drive? Enter a 1 for yes or 2 for no. (There are other ways to do this, you are welcome to try. This method avoids some issues with reading and testing different data types.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
