Friday, June 23, 2006

Calculation of Simple Interest

This Program calculates the value of Simple Interest. The Values of Principle, Rate of Interest and the number of years is input through the keyboard.

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.

main ()

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

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


printf("%f", si);

The File can be found at:
Download File

No comments: