Calculate Simple Interest with following detail. p=1000, n=5 and r=2.5
#include<stdio.h>
main()
{
int n=5;
float p=1000,r=2.5,si=0.0;
si=p*n*r/100;
printf("\nSimple Interest %.2f",si);
}
Output
No comments:
Post a Comment