subject

A dramatic theater has three seating sections, and it charges the following prices for tickets in each section: section A seats cost $20 each, section B seats cost $15 each, and section C seats cost $10 each. The theater has 300 seats in section A, 500 seats in section B, and 200 seats in section C. Design a program that asks for the number of tickets sold in each section and then displays the amount of income generated from ticket sales. The program should validate the numbers that are entered for each section.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:20
Write a method replacekey in the minheap class with the following signature: public void replacekey(integer oldkey, integer newkey) the method will replace the first occurrence of oldkey with the newkey, and restore the min-heap property after the change. if the oldkey does not exist in the heap, the method prints an appropriate message and returns without changing the heap. example: suppose our binary heap object (bh) has the following keys: *** 4 6 7 32 19 64 26 99 42 54 28 then the method call: bh.replacekey (oldkey integer(54), newkey integer(2))
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
question
Computers and Technology, 25.06.2019 13:00
Involves gauging oneself against the achievements of peers. self-fulfilling prophecy. social comparison. indirect evidence. self-concept.
Answers: 1
question
Computers and Technology, 25.06.2019 15:00
What is the first step in necessary to begin setting up a website once a host has been selected and paid
Answers: 1
You know the right answer?
A dramatic theater has three seating sections, and it charges the following prices for tickets in ea...
Questions
question
Mathematics, 17.07.2019 13:00
question
History, 17.07.2019 13:00
question
Mathematics, 17.07.2019 13:00