program to calculate simple interest-by enggfact - Enggfact

Latest

Convert your Passion into your Profession

Sunday, September 1, 2019

program to calculate simple interest-by enggfact

#include<stdio.h>
#include<math.h>
int main()
{
float p,r,t,S.I;
printf("enter p:");
scanf("%f",&p);
printf("\n enter r:");
scanf("%f",&r);
printf("\n enter t:");
scanf("%f",&t);
S.I=((p*r*t)/100);
printf("\n the value of S.I=%f",S.I);
return 0;
}

No comments:

Post a Comment