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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:10, MadiAbbott798
How does access indicates that a filter has been applied to a specific column
Answers: 1
image
Computers and Technology, 23.06.2019 03:30, bellsbella34
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, CalCDanG
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
image
Computers and Technology, 23.06.2019 19:00, jaymc1932
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
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 in other subjects:

Konu
Social Studies, 24.11.2020 19:10
Konu
English, 24.11.2020 19:10
Konu
Mathematics, 24.11.2020 19:10