Question: Hello! I am expected to write an Amoritization Schedule to display: Payment Number, Interest, Principal, and Balance. I do not know how to proceed with
Hello! I am expected to write an Amoritization Schedule to display: Payment Number, Interest, Principal, and Balance. I do not know how to proceed with my code below. Please help me! An example of what the output should look like is listed below as well. Thank You!
CODE:
#include #include using namespace std;
int main() { double intPercent, monthPay, intRate, totalIntAmt, totalPayoff, originalBal, currentBal, monthIntRate, monthInt, monthPrincipal, monthBal, numberPay; int loanAmt, loanYears;
cout
{ int choice; bool menu = true; while (menu != false) { cout > choice;
switch (choice) { case 1: cout > loanAmt; cout > intPercent; cout > loanYears; cout
case 2: cout
cout > Q1; cout
cout > Q2; cout
cout > Q3; cout
cout > Q4; cout
cout > Q5; cout
cout > Q6; cout
cout > Q7; cout > currentBal; monthBal = currentBal - monthPay; // Calculation for the Monthly Loan Balance cout
case 3: cout
case 4: cout
default: cout > choice; break; }
} return 0; }
}
OUTPUT:

Term: 6 Monthly Payment:171.069 Payment No Interest Principal 7.5 6.27 5.04 3.79 2.54 1.27 163.57 164.8 166.03 167.28 168.53 169.8 Balance 836.43 671.63 505.6 338. 32 169.79 6 0.01 Sample output File: out.txt: out.tt Notepacd Eile Edit Format View Help Loan Amount: 1000 APR:9 Term: 6 Monthly Payment: 171.069 Payment No Interest Principa Balance 7.5 6.27 .04 3.79 2.54 1.27 164.8 166.03 167.28 168.53 169.8 836.43 671.63 05.6 338.32 169.79 0.01 Ln 12, Col 44
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
