KodeGod.com

008. Write a program to print simple interest SI = (PNR)/100 in C language

#include<stdio.h>
#include<conio.h>  
main()
{
 float SI,P,N,R;
 clrscr();
 printf("Enter values of P, N and R: ");
 scanf("%f%f%f",&P,&N,&R);
 SI=(P*N*R)/100;
 printf("Simple interest = : %6.2f",SI);
 getch();
}