simple Interest program in C language


#include<stdio.h>
#include<conio.h>
void main()
{
int p,t,r,i;
clrscr();
printf("enter the value for p=");
scanf("%d",&p);
printf("enter the value for t=");
scanf("%d",&t);
printf("enter the value for r=");
scanf("%d",&r);
i=p*t*r/100;
printf("interest is==%f", i);
getch();
}

Comments

Popular posts from this blog

Layout design in Android Studio

How to hack wifi password-2017

how to use camera in android studio| code