Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a python peogram: Stadium Seating There are three seating categories at the college stadium. For a softball game, student tickets cost $9.00, senior tickets

write a python peogram:

Stadium Seating

There are three seating categories at the college stadium. For a softball game, student tickets cost $9.00, senior tickets cost $12.00 and general tickets cost $15.00. Write a program that asks how many tickets for each class of seats were sold. Then display the total number of tickets sold, the amount of income generated from each class and the total ticket sales.

Note: Use constants for the seat prices.

Sample output:

image text in transcribed
Enter the number of student tickets sold: 100 Enter the number of senior tickets sold: 200 Enter the number of general tickets sold: 300 Total number of tickets sold: 600 Revenue Generated: Student Tickets: Senior Tickets: General Tickets: Total Revenue: $900.00 $2400.00 $4500.00 $7800.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions