Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using raptor Kim wants to buy a car. Help Kim compute the monthly payment on a loan, given the loan amount, the annual percentage rate

Using raptor

Kim wants to buy a car. Help Kim compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the num- ber of monthly payments. The program should allow Kim to input the loan amount, interest rate, and how many payments she wants to make. It should then compute and display the monthly payment. You will need the following variables: Payment LoanAmt InterestRate MonthlyRate NumberMonths You will need the following formulas: MonthlyRate = InterestRate/1200 Note: when the user enters InterestRate as a percentage, it must be divided by 100 to make it a decimal (i.e., 18% = 18/100 = 0.18). The InterestRate offered by car dealers is an annual rate so this must be divided by 12 to get the MonthlyRate. The formula given above combines the two steps (i.e., annual rate of 18% = 18/100 = 0.18 and the monthly rate is 0.18/12 = 0.015 or 18/(100*12) = 18/1200. Payment = LoanAmt * MonthlyRate * (1 + MonthlyRate)^NumberMonths ((1 + MonthlyRate)^NumberMonths 1) Note: The formula must be entered carefully, exactly as shown.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions