ADVT POST

c program simple interest by taking user input

c program simple interest by taking user input


#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int p,r,t,si;
printf("enter values");
scanf("%d%d%d",&p,&r,&t);
si=(p*r*t)/100;
printf ("%d",si);
getch();
}
Share on Google Plus
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.