Question: 21 points There are two ticketing categories for a dolphin show at the National Aquarium in Baltimore. The cost of Adult ticket is $39.95 and
21 points There are two ticketing categories for a dolphin show at the National Aquarium in Baltimore. The cost of Adult ticket is $39.95 and Children $29.95. Write a program that asks how many tickets for each group of seats were sold, then displays the Total income generated from ticket sales. Format your the output amounts in fixed-point notation, left justified in a field of seven spaces with two decimal places of precision, and be sure the decimal point is always displayed. Note: Make sure you declare the cost for adult and childeren tickets as constants
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
