Sunday 21 January 2018

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();
}

0 comments:

Post a Comment