In: Computer Science
Make a Console application
Language should be Visual Basic
In this assignment, you will be calculating the two parts for each month.
you calculate the interest to pay each month
and principal you pay every month.
The interest you pay every month = loan * monthlyInterest
The principal you pay every month = monthlyMortgage - interest you pay every month
' what is my remaining loan
loan = loan - principal you pay every month
Problem 1 : Using While Loop, calculate the interest you pay every month and principal you pay every month and the remaining loan.
Problem 2 : Use a for loop, calculate the interest you pay every month and principal you pay every month and the remaining loan.
Upload the VB script and screenshots
case 1 : Loan=100000, interest=3.00 year=10
case 2 : Loan=200000, interest=4 year=15
Do this for while loop and For loop.
Visual Basic program screenshots for the provided problem statement using For loop
Program Output screenshots
Visual Basic program screenshots for the provided problem statement using While loop
Program Output screenshots