subject

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: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Using a conditional expression, write a statement that increments numusers if updatedirection is 1, otherwise decrements numusers. ex: if numusers is 8 and updatedirection is 1, numusers becomes 9; if updatedirection is 0, numusers becomes 7.
Answers: 1
You know the right answer?
A movie theatre can hold 150 persons. The cost of a ticket is $40 each for adults (age 18 and over)...
Questions
question
Spanish, 15.01.2020 04:31
Questions on the website: 13722367