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, 21.06.2019 23:00
Describe in pseudocode an algorithm that given an integer n and a linked list of elements increases the linked list by a factor of n by replacing each element in the original list with n copies of that element. for example, if l: [18, 7, 4, 24, 11] and n = 3 the resulting list should be l: [18, 18, 18, 7, 7, 7, 4, 4, 4, 24, 24, 24, 11, 11, 11]. if the value of n is less than or equal to 0, the list should be empty after the call. what’s the running time of your algorithm?
Answers: 3
question
Computers and Technology, 22.06.2019 16:10
When copying and pasting text, the first step is move your cursor type the text select the copy command select the paste command
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
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
Mathematics, 04.02.2021 01:10
question
Arts, 04.02.2021 01:10
question
Mathematics, 04.02.2021 01:10
question
Geography, 04.02.2021 01:10
question
Mathematics, 04.02.2021 01:10
question
Mathematics, 04.02.2021 01:10
Questions on the website: 13722363