Q:

Write a program to calculate simple interest for a given value representing principle amount is 4500 number of years is 3 and rate of interest 12%

0

Write a program to calculate simple interest for a given value representing principle amount is 4500, number of years is 3 and rate of interest 12%.

The formula for simple interest is

SI= PRT/1000 where P is principle, R= rate of interest, T is time

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <stdio.h>
int main() {
int p,t;
p = 4500;
t = 3;
float r,si;
r=0.12;
si=(p*r*t)/1000;
printf("\n\n the formula for simple interest is",si);
return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now