write a program to calculate the simpleinteresr
Answers
Answered by
0
#include<stdio.h>
int main()
{
int p,r,t,int_amt;
printf("Input principle, Rate of interest & time to find simple interest: \n");
scanf("%d%d%d",&p,&r,&t);
int_amt=(p*r*t)/100;
printf("Simple interest = %d",int_amt);
return 0;
}
Similar questions
Social Sciences,
4 months ago
Chemistry,
4 months ago
Hindi,
4 months ago
Physics,
8 months ago
Physics,
8 months ago
English,
11 months ago
Computer Science,
11 months ago