C Program To Find The Simple Interest

How To Write a C Program To Find The Simple Interest in C Programming Language ?


Solution For C Program To Find The Simple Interest:


#include<stdio.h>
#include<conio.h>

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

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

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

printf("Enter 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

Tags: C Program to find the simple interest, c program to find compound interest, c program to find simple interest using while loop, c program to find simple interest using function, write a c program to find simple interest and compound interest, java program to find simple interest, c program for area of triangle, c program to calculate simple interest using function, write a program to calculate simple interest in c++.


Learn More :