Write Python program for the DFW airport parking. Provide 3 types of parking options to the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
Reviewing your corporation's statement of cash flows: what do you learn about your SEC 10-K company as you view the four financial statements together? Use course resources to explain the purpose of...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
In his senior year at Notre Dame, Chris Moore had been the third runner-up for the fabled Heisman Trophy. The trophy goes to the outstanding football player in America and is presented annually by...
-
Rank the following substances in order of increasing acidity: (a) (CH3)2CHOH, HC CH, (CF3)2CHOH, CH4OH (b) Phenol, p-methyl phenol, p-(trifluoromethyl) phenol (c) Benzyl alcohol, phenol, p-hydroxy...
-
True or false: The average or mean of a function on the interval [a, b] defines a linear operator A : C0[a, b] R. S(x) dx A[f] =
-
A parallel-plate capacitor has an initial charge \(q\) and a plate separation distance \(d\). How much work must you do, in terms of \(q, d\), and plate area \(A\), to increase the separation...
-
Holism Consulting is a consulting firm owned and operated by Scott Cutler. The end-of period spreadsheet shown below was prepared for the year ended May 31, 2014. Based on the preceding spreadsheet,...
-
11. An incompressible liquid is kept in a container having a weightless piston with a hole. A capillary tube of inner radius 0.1 mm is dipped vertically into the liquid through the airtight piston...
-
Profitability remains a challenge for banks and thrifts with less than $ 2 billion of assets. The business problem facing a bank analyst relates to the factors that affect return on assets (ROA), an...
-
A construction firm purchased 3 tractors from a certain company. At the end of 5th year, let E1, E, and E, denote, respectively, the vents that tractors no. 1, 2, and 3 are still in good operational...
-
Define propriety audit. What are its objectives?
-
Can dividend be paid under the following circumstances: (a) Out of current profit without making good past losses? (b) Out of a capital profit. (c) Out of past profit when there is neither profit nor...
-
You have just been appointed as auditor of Hindalco Engineering Company Ltd. to fill up a casual vacancy created by the death of the previous auditor, Mr. V. K. Rattan, a sole practitioner. He has...
-
State the circumstances when a person will be disqualified for being appointed as company auditor.
-
How do you verify the following items: (a) Raw material stock (b) Land (c) Preliminary expenses (d) Investment (e) Work-in-progress (f) Copyright (g) Machine purchased on H. P. System (h) Patterns...
-
Define a galvanic cell and explain all of the properties of sucha cell.
-
At 31 December 20X9, the end of the annual reporting period, the accounts of Huron Company showed the following: a. Sales revenue for 20X9, $ 2,950,000, of which one- quarter was on credit. b....
-
Palmer made a valid contract with Ames under which Ames was to sell Palmers goods on commission from January 1 to June 30. Ames made satisfactory sales up to May 15 and was then about to close an...
-
Negligent in failing to give warning of the approach of its train to a crossing, CC Railroad thereby endangers Larry, a blind man who is about to cross. Mildred, a bystander, in a reasonable effort...
-
Neptune Research & Development, Inc. (the buyer), which manufactured solar-operated valves used in scientific instruments, saw advertised in a trade journal a hole-drilling machine with a very high...
-
Smart Manufacturing Systems Pty Ltds accountant recently prepared the following data from the companys accounting records for the year ended 30 June 2019. Factory overhead is applied at the rate of...
-
During the year ended 30 June 2019, Beautiful Bottles Pty Ltd incurred the following costs in connection with its production activities. Required (a) Calculate the relationship between factory...
-
Telecommunications company Toronto Ltd signed a 15year deal to sell capacity on its cable network to a rival company for $200 million. The deal was completed on the last day of Toronto Ltds financial...
Study smarter with the SolutionInn App