Write a program to calculate the simple interest. The values of principle, rate of interest and the number of years are input from the keyboard. Display the value of the calculated Simple interest on a new line.

#include<stdio.h>
main ()

{
int p, n;
float r, si;
printf(" Enter the values of p, n, r: ");

scanf("%d %d %f", &p, &n, &r);

si=p*n*r/100;

printf("%f", si);
}


The File can be found at:
Download File

No comments:

Post a Comment

kiss on google ads if you are anonymous because your ip is trackable.thank you.

......from.admin