Search This Blog

Translate

C Program To Calculate Simple Interest

c program to calculate compound interest,c program to calculate simple interest and compound interest,c program to calculate simple interest and amount,c program to calculate simple interest using function,c program to calculate area of circle,c program examples,basic c programs,c++ program to calculate simple interest using default arguments



C Program To Calculate Simple Interest 

void main()
{
    float i, p,r,t;
    clrscr();
    printf("\nEnter the Amount=");
    scanf("%f",&p);
    printf("\nEnter the Rate of Interest=");
    scanf("%f",&r);
    printf("\nEnter the No of Years=");
    scanf("%f",&t);
    printf("**************** Result *****************");
    printf("\n\n\n Original amount is=%.2f",p);
    i=(p*(r/100)*t);
    printf("\n\n\n The amount with interest is=%.2f",i+p);
    getch();
}

C Program To Calculate Simple Interest


c program to calculate compound interest,c program to calculate simple interest and compound interest,c program to calculate simple interest and amount,c program to calculate simple interest using function,c program to calculate area of circle,c program examples,basic c programs,c++ program to calculate simple interest using default arguments

C Program example List

Google+ Badge