Education

Input & Output Devices

program of simple interest


//  program of simple interest


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

Comments