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...
-
In what ways are preferred shares different from bonds?
-
Cis-Vaccenate is an 18-carbon unsaturated fatty acid abundant in E. coli membrane lipids. Propose a metabolic route for synthesis of this fatty acid, in light of the fact that stearic acid, the C 18...
-
For the following problems, draw the given function and find the Laplace transform in closed form. a. \(f(t)=1+\sum_{n=1}^{\infty}(-1)^{n} H(t-n)\). b. \(f(t)=\sum_{n=0}^{\infty}[H(t-2 n+1)-H(t-2...
-
Vulcan Flyovers offers scenic overflights of Mount St. Helens, the volcano in Washington State that explosively erupted in 1982. Data concerning the companys operations in July appear below: The...
-
Please help.Thanks a lot The following are two independent situations. Situation 1 Nash Cosmetics acquired \( 10 \% \) of the 191,000 shares of common stock of Martinez Fashion at a total cost of \(...
-
Non-controlling interests of profitable subsidiaries result in a credit item in the income statement and a debit balance in the statement of financial position. True/False
-
explain the concept of phenotypic integration and its significance for understanding the modular organization of organisms, as well as the patterns of phenotypic variation and covariation within and...
-
A genetic experiment with peas resulted in one sample of offspring that consisted of 444 green peas and 168 yellow peas. a. Construct a 90% confidence interval to estimate of the percentage of yellow...
-
5. One insurance company, which is not listed on the stock market, purchases and takes over of a financial technology company that is highly anticipated in the future. The managers of the insurance...
-
How do I interpret a negative ROE % if the net income is positive, but stockholders equity is negative
-
can someone answer and explain the steps so I can understand please Coast-to-coast Inc. is considering the purchase of an additional delivery vehicle for $47,000 on January 1, 2011. The truck is...
-
List and explain key fundamental and basic features of the 3 key financial statements. Why does the question indicate 3 versus 4 key statements? Of the 4 major statements, which one is essentially a...
-
Problem 12-15 Project Cash Flows (LG12-5) Your company is contemplating replacing their current fleet of delivery vehicles with Nissan NV vans. You will be replacing 5 fully- depreciated vans, which...
-
Why is disclosure of depreciation or amortization methods and rates so important?
-
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...
-
How will organizing your financial documents help you manage your money?
-
What steps would you take to create a home filing system?
-
What are the advantages of using a safe deposit box to store your personal financial documents?
Study smarter with the SolutionInn App