Create an auto loan calculator java swing program that will provide dialogs to ask the user regarding the price of the car, downpayment and the number of years to pay for the loan. Compute and display the monthly payment of the loan. Assume that the sales tax is 12% and the interest rates depends on the number of years given by the user. Use the folowing formulas for the computation: Tax amount= Car price*sales tax rate Car total cost= car price+ tax amount Borrowed amount = Car total cost- down payment Interest amount= Borrowed amount* interest rate Loan amount= Borrowed amount + interest amount Monthly payment = loan amount/ number of months loan
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Create an auto loan calculator java swing program that will provide dialogs to ask the user regarding the price of the car, downpayment and the number of years to pay for the loan. Compute and display the monthly payment of the loan. Assume that the sales tax is 12% and the interest rates depends on the number of years given by the user.
Use the folowing formulas for the computation:
- Tax amount= Car price*sales tax rate
- Car total cost= car price+ tax amount
- Borrowed amount = Car total cost- down payment
- Interest amount= Borrowed amount* interest rate
- Loan amount= Borrowed amount + interest amount
- Monthly payment = loan amount/ number of months loan
Trending now
This is a popular solution!
Step by step
Solved in 2 steps