Simple Interest 1 Program


Simple Interest 1 Program
#include<stdio.h>
#include<conio.h>
main()
{
int p,t,r,si;
clrscr();
printf("enter the values of p,t,r");
scanf("%d%d%d",&p,&t,&r);
si=(p*t*r)/100;

printf("%d",si);
getch();
}

No comments:

Post a Comment