Simple interest program in c | Program to calculate simple interest

 

Simple interest program in c | Program to calculate simple interests

Simple interest program in c | Program to calculate simple interests

#include<stdio.h>

main()

{

float i,sum,y,b;

printf("Enter the Sum Than Number Of Years and Rate of interest");

scanf("%f %f %f", &sum,&y,&i);

b=(sum*y*i)/100;

printf("The Total Number Of interst for %f years is %f",y,b);

return 0;

}

Enter the Sum Than Number Of Years and Rate of interest100 1 10

The Total Number Of interst for 1.000000 years is 10.000000

Find simple interest using formul in c 

Find simple interest using formula SI = (principle * time * rate) / 100
Next Post Previous Post
No Comment
Add Comment
comment url