You are on page 1of 1

/* NAME: VARUN AGGARWAL

ROLL NO: 1 SEM-1 ICA DIV: A


SUBJECT: FOP
DEFINITION:

*/

#include<stdio.h>
#include<conio.h>
int main()
{
float p,r,n;
clrscr();
printf("\nEnter Amount:");
scanf("%f",&p);
printf("\nEnter Rate of Interest:");
scanf("%f",&r);
printf("\nEnter Period:");
scanf("%f",&n);
printf("\nSimple Interest will be :%f",(p*r*n)/100);
getch();
return 0;
}

/* OUTPUT:

*/

You might also like