C Code for Amortization

This c programming code is used to find the amortization . You can select the whole c code by clicking the select option and can use it. When you click text, the code will be changed to text format. This c 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 c code and use it to find the amortization .

    #include<stdio.h>
    #include<math.h>
    #include<string.h>
    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;
        printf("\nMonthly Payment is: %.0f",emi);
        tamt =(100 * emi * term) / 100;
        tip = (100 * (tamt - p)) / 100;
        printf("\nTotal Interest without pre-payment: %.0f",tip);
    }
Other Programming Codes
Online Calculator : Amortization Calculator
Click on the select code link to copy and paste this free c program code for amortization calculator.

english Calculators and Converters


Sitemap