Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Topics: Strings, class Math, expressions, variables, Scanner, and static Methods Write a solution to the following problem and submit 2 .java 2. Problem 2. Auto

Topics: Strings, class Math, expressions, variables, Scanner, and static Methods Write a solution to the following problem and submit 2 .java image text in transcribed

image text in transcribed

2. Problem 2. Auto Loan Payment Calculator: In this problem you will create a program that given some basic information calculates an estimated monthly payment for an auto loan, and the amount of the loan remaining after making 12, 24, &36 payments. Your program should prompt the user for the make, model, and year of an automobile, the auto's price, and the amount of the down payment. You will assume that all autos will be financed for 72 months at an interest rate of 6.9% annually. Your program MUST implement the following methods: . calculatePayment: which receives the interest rate (rate), loan amount (principle) and number of months for which the auto is financed (months) as parameters and will calculate the monthly payment as: payment Principle * (Rate/12)/(1-(1+ Rate/12) "Months)

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

Question

What are the attributes of a technical decision?

Answered: 1 week ago

Question

How do the two components of this theory work together?

Answered: 1 week ago