C Program to find the simple interest

C Program to find the simple interest
#include<stdio.h>
#include<conio.h>

void main()
{
int amount,rate,time,si;
clrscr();

printf("nEnter Principal Amount : ");
scanf("%d",&amount);

printf("nEnter Rate of interest : ");
scanf("%d",&rate);

printf("nEnter Period of Time   : ");
scanf("%d",&time);

si = (amount * rate * time)/100;

printf("Simple Intrest : %d",si);

getch();
}
Output :
Enter Principal Amount : 500
Enter Rate of interest : 5
Enter Period of Time   : 2
Simple Interest : 50

Share this

Related Posts

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer