Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- void main() {
- int amount, rate, time, si;
- 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("\nSimple Interest : %d", si);
- getch();
- }
Add Comment
Please, Sign In to add comment