Question: % 3 Cdiv % 3 E % 3 Cp % 3 EAssignment 1 B % 3 A % 0 ALoan Payment Calculator % 0 AYou
CdivECpEAssignment BAALoan Payment CalculatorAYoure applying for a car loan and want to calculate your monthly payment. The monthly Apayment can be calculated using the formulaAAWhereAAEA P is the loan amount principalAEA r is the monthly interest rate annual interest rate divided by and converted to a AdecimalAEA n is the number of payments loan term in years multiplied by AWrite a Python program that prompts the user for the loan amountC annual interest rateC and loan Aterm in years. The program should calculate and display the monthly payment.A Prompt the user to enter the loan amount principal as a floatingpoint number.A Prompt the user to enter the annual interest rate as a floatingpoint number.A Prompt the user to enter the loan term in years as an integer.A Calculate the monthly interest rate by dividing the annual interest rate by and Aconverting it to a decimal egC if the annual rate is CBconvert it to and then to A for monthly rateA Calculate the number of payments by multiplying the loan term in years by A Use the formula to calculate the monthly payment.A Display the monthly paymentC rounded to two decimal places.AOutputAAEnter the loan amountA AEnter the annual interest rate in ABAEnter the loan term in yearsA AYour monthly payment isA CFpECFdivECdivECFdivE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
