C Program to find the Simple Interest

C Program to find Simple Interest

This page has a C Program to find the Simple Interest. The Simple Interest can be calculated by using the formulae: Simple_Interest = (amount * intr * period) / 100.  For example:  if we  give the Principal Amount as 2000, Rate of Interest as 3 and Period of Time as 1 then, the Simple Interest will be 60. The below given C program will find the Simple Interest.  Kindly check out the program to find the Simple Interest. The questions to find the Simple Interest can be asked as

1). C Program to find the simple interest
2). C program to calculate Simple Interest
3). Calculate Simple Interest in C Programming
4). C Program to find simple interest
5). C Program to compute the simple interest
6). Find simple interest for Principal Amount, Interest Rate, Period of Time

Simple Interest Program

#include<stdio.h>
int main(){
float amount, sim, intr, period;
printf("Enter Principal Amount : ");
scanf("%f", &amount);
printf("\nEnter Rate of Interest : ");
scanf("%f", &intr);
printf("\nEnter Period of Time : ");
scanf("%f", &period);
sim = (amount * intr * period) / 100;
printf("\n Simple Interest : %f", sim);
return(0);
}

Sample Output:

Enter Principal Amount : 2000
Enter Rate of Interest : 3
Enter Period of Time : 1
Simple Interest : 60

Related Popular Posts:

*  Write a c program to check whether a given number is prime number or not?

*  Write a C program to find the prime numbers between 1 and 100

*  Write a C program to display the prime numbers between a range ?

*  Write a C program to find the prime numbers between a range using while loop?

*  Write a C program to find the sum of prime numbers between a range