Write bash script for the monthly payment for a given loan pays the principal and the interest. The monthly interest is computed by multiplying the monthly interest rate and the balance (the remaining principal).The principal paid for the month is therefore the monthly payment minus the monthly interest. Write bash script that lets the user enter the loan amount, number of years, and interest rate, and then displays the amortization schedule for the loan. Sample output: Enter annual interest rate: 5.75 Enter no of years: 5 Enter loan amount: 1000 Interest rate monthly payment total payment 5% 188.8 11322.74
Write bash script for the monthly payment for a given loan pays the principal and the interest. The monthly interest is computed by multiplying the monthly interest rate and the balance (the remaining principal).The principal paid for the month is therefore the monthly payment minus the monthly interest. Write bash script that lets the user enter the loan amount, number of years, and interest rate, and then displays the amortization schedule for the loan.
Sample output:
Enter annual interest rate: 5.75
Enter no of years: 5
Enter loan amount: 1000
Interest rate monthly payment total payment
5% 188.8 11322.74
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images