write a C program to calculate the simple interest for an amount of rupees 5,000 at the rate of 12% for 3 years
Answers
Answered by
0
Explanation:
#include <stdio.h>
void main()
{
int p,r,t, SI;
printf(" enter value of p, r, t :")
scanf ("%d%d%d ", &p,&q,&r)
SI= p×r×t;
printf(" The value of simple interest is :%d" , SI)
}
output screen:--
enter value of p,r,t : 5000, 12%,3
S I = 1800
Similar questions