Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Python program for the DFW airport parking. Provide 3 types of parking options to the user: Valet, Long Term, and Economy. The rates

 

Write Python program for the DFW airport parking. Provide 3 types of parking options to the user: Valet, Long Term, and Economy. The rates are as follows: $30 per 24hrs for Valet, $15 per 24hrs for Long Term, and $10 per 24hrs for Economy parking. Ask user for input on number of hours of parking. Add 10% tax to subtotal. Display subtotal, tax, and total charges. 2. Write a Python program to help elementary school students verify their assignment. User enters 2 numbers (integer or float). Display average of entered numbers, absolute difference between entered numbers, ratio of number 1 over number 2, and ratio of number 2 over number 1. 3. Write a Python program to help middle school students compute if their percentage score is equal to or greater than a threshold. Accept 5 scores from the user. Each score is assumed to be out of 100. Accept threshold percentage from the user (integer or float). Display percentage score and message about the threshold. 4. Write a Python program to help Bush Gardens with tickets. For individuals 10 years or older, price is $99/day. For individuals 3-9 years, the price is $49/day. There is a 10% discount for Florida residents on subtotal of tickets. There is a 25% discount for students or teachers. First, the program will ask the number of patrons in a group. Second, the program will ask age of each group member. Third, the program will ask if the user is a Florida resident. Finally, the program will ask if each person in the group a student or teacher. Compute subtotal, 10% tax, Florida discount, student/teacher discount, and total to be paid. 5. Write a Python program to help an airline identify appropriate aircraft given bookings. The airline has 3 configurations: (a) 25 Business class, 75 economy. (b) 10 First, 15 Business, and 75 economy, and (c) 20 First, 30 Business, and 50 economy. Accept the number of bookings for each class. Identify the appropriate aircraft configuration(s). If none of the configurations suffice, display a message

Step by Step Solution

3.44 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

1... blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Smith and Roberson Business Law

Authors: Richard A. Mann, Barry S. Roberts

15th Edition

1285141903, 1285141903, 9781285141909, 978-0538473637

More Books

Students also viewed these Programming questions