Question
Repayment of A Loan Version write a c++ program 2 - Must Use Two Dimensional Arrays Rewrite the repayment of a loan program assigned earlier
Repayment of A Loan Version
write a c++ program
2 - Must Use Two Dimensional Arrays Rewrite the repayment of a loan program assigned earlier this term to work with two dimensional arrays. WRITE IN C++!!!!
The monthly repayment formula is as follows: R space equals space P i over 12 open parentheses fraction numerator open parentheses 1 space plus space begin display style i over 12 end style close parentheses to the power of 12 y end exponent over denominator open parentheses 1 plus begin display style i over 12 end style close parentheses to the power of 12 y end exponent space minus space 1 end fraction close parentheses Where the following variables are: R is the calculated monthly repayment P is the principal or amount of the loan y is the number of years of the loan i is the yearly interest rate in decimal (i.e. 4.75% be represented as 0.0475) Have the program be an interactive program, prompting the user for the principal or amount of the loan in dollars.
example is from java but should be written in c++
12 12 12 12 12 J 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started