Skip to content

Commit 1088c68

Browse files
authored
Simple Interest
Program for Simple Interest
1 parent c5c05c2 commit 1088c68

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)