subject

SOMEONE WHO KNOWS I. T. HELP. A movie theatre can hold 150 persons. The cost of a ticket is $40 each for adults (age 18 and over) and ) $30 each for a child (under 18 years of age). The age of each person is prompted for. Based on the age, the cashier calculate and print the cost of the ticket for each person. You must determine and print:

1) The number of adults who bought tickets. 2) The number of children who bought tickets. 3) Total money earned for the day.

Write a Pascal Program for the above situation.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
question
Computers and Technology, 24.06.2019 21:00
Which device has the most limited computing functionality?
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
What refrigerant has been approved for new household refrigerators and freezers
Answers: 1
question
Computers and Technology, 26.06.2019 04:30
What is an example of a use for an icon set? a. color scales for values b. data bars for amounts c. calculations for percentages d. star graphics for ratings
Answers: 1
You know the right answer?
SOMEONE WHO KNOWS I. T. HELP. A movie theatre can hold 150 persons. The cost of a ticket is $40 eac...
Questions
question
Mathematics, 06.11.2020 14:00
question
Computers and Technology, 06.11.2020 14:00
question
Mathematics, 06.11.2020 14:00
question
Medicine, 06.11.2020 14:00
question
Mathematics, 06.11.2020 14:00
question
Mathematics, 06.11.2020 14:00
question
English, 06.11.2020 14:00
Questions on the website: 13722366