Question: Write code using python 3 Write a program that calculates parking charges. The program will read in the hours to be charged and will calculate

Write code using python 3 Write a program that calculates parking charges.Write code using python 3

Write a program that calculates parking charges. The program will read in the hours to be charged and will calculate the charges as follows: The first hour is $5. Hours 2-5 are $3.50 each. Hours over 5 is $2.00 each. Print the total charges. Use an if/else structure. SAMPLE Enter hours: 4 The charge is $ 15.50 Write a program to calculate the monthly payment on a new car. (1+r)" payment = a* (1+r)n-1 n = number of payments made r=monthly interest rate a = amount borrowed Note: interest rate per month is required for the calculation, but the user will enter the overall percentage. SAMPLE Enter number of payments: 60 Enter interest rate: .05 Enter amount borrowed: 20000 The monthly payment will be $ 377.42

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!