Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code in Visual Studio. Write a program to calculate student loan payment. Prompt the user of your program to enter the amount of loan, loan

Code in Visual Studio.

image text in transcribed

Write a program to calculate student loan payment. Prompt the user of your program to enter the amount of loan, loan term, and interest rate. Use the following formular to calculate monthly payment. monthlyPayment = loanAmount (1+monthlyInterest)numberOfPayments1monthlyInterest(1+monthlyInterest)numberOfPayments Note that the interest rate entered is a yearly interest rate. Dividing it by 12 gives a monthly interest rate. The number of payments = loan term (in years) times 12. Sample output: Enter the amount of your student loan: 50000 Enter the number of years you want to repay your student loan: 10 Enter the interest rate of your student loan: 0.054 For a student loan amount of $50000.00 with an interest rate of 5.40% and a 10 -year loan term, your monthly payments are $540.16

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions