Program to calculate simple interest in c language
Answers
Answered by
0
Explanation:
solve this computer program
Attachments:
Answered by
0
Answer: We use the fromula
Simple Interest = P x T x R / 100 to solve this question
Explanation:
code:
#include<stdio.h>
main()
{
int p,t,r;
float s;
printf("Enter the Principal amount");
scanf("%d",&p);
printf("Enter the rate");
scanf("%d",&p);
printf("Enter the time");
scanf("%d",&p);
s=(p*t*r)/100;
printf("The Simple Interest is %f",s);
return 0;
}
Similar questions