Cpp Code for Amortization

This cpp programming code is used to find the amortization . You can select the whole cpp code by clicking the select option and can use it. When you click text, the code will be changed to text format. This cpp program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this cpp code and use it to find the amortization .

#include<iostream>
#include<math.h>
using namespace std;
main()
{
double part1;
float part2,part3,emi,tamt,tip;
float p = 12000,r,term=10,termon=3;
term=term*termon;
r = 1.2/1200;
part1 = pow((1+r), term);
part2 = p * r * part1;
part3 = part1 - 1;
emi =(100 * (part2 / part3)) / 100;
cout<<"\nMonthly Payment is: "<<round(emi)<<"";
tamt =(100 * emi * term) / 100;
tip = (100 * (tamt - p)) / 100;
cout<<"\nTotal Interest without pre-payment: "<<round(tip)<<"";
}
Other Programming Codes
Online Calculator : Amortization Calculator
Click on the select code link to copy and paste this free cpp program code for amortization calculator.

english Calculators and Converters


Sitemap