Skip to content

Commit 001dd35

Browse files
Merge pull request seeditsolution#290 from chhavi200/patch-2
Simple Interest
2 parents 57897bd + 1088c68 commit 001dd35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Simple Interest

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include<stdio.h>
2+
#include<conio.h>
3+
void main()
4+
{
5+
int p,r,t,i;
6+
float si;
7+
printf("\n enter Principle amount,rate,time");
8+
scanf("%d%d%d"&p,&r,&t);
9+
si=(p*r*t)/100;
10+
getch();
11+
}

0 commit comments

Comments
 (0)