subject

ou are creating a program for the owner of a small museum. They charge $10 for adults, $8 for seniors, and $5 for children. Ask the owner to enter the # of tickets (of each type) sold that day and then calculate both the total per ticket type and the grand total for the day. All user input should occur in one line. Output: How many Adult, Senior, and Child tickets were sold today? (separate numbers using spaces): [assume input is 10 10 10] Revenue from Adult ticket sales is $100 Revenue from Senior ticket sales is $80 Revenue from Child ticket sales is $50 Total revenue for today is $230 Hints and Notes: 1) Use three constants and seven variables. No math should be done in output statements.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:40
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
You know the right answer?
ou are creating a program for the owner of a small museum. They charge $10 for adults, $8 for senior...
Questions
question
Biology, 30.08.2019 12:00
question
Mathematics, 30.08.2019 12:00
question
Social Studies, 30.08.2019 12:00
Questions on the website: 13722367