Table of Contents
C program to find Simple interest
C program to find Simple interest : To find simple interest we just need to add principal amount, number of years and rate of interest and then divide it by 100
C program to calculate Simple interest
#include<stdio.h>
//itvoyagers.in
int main()
{
float p,n,r,si;
printf("Enter Principal amount : ");
scanf("%f",&p);
printf("Enter Number of years : ");
scanf("%f",&n);
printf("Enter Rate of interest : ");
scanf("%f",&r);
si = (p*n*r)/100;
printf("Simple Interest = %.2f",si);
return 0;
}
Output :
Enter Principal amount : 800000
Enter Number of years : 3
Enter Rate of interest : 4.5
Simple Interest = 108000.00
PRACTICALS/PRACTICE PROGRAM IN C
CHECKOUT OTHER RELATED TOPICS
CHECKOUT OTHER QUIZZES
Quizzes on Operator |
Easy Quiz on Operators in C part 1 |
Easy quiz on operators in C part 2 |
Easy quiz on operators in C part 3 |
Quizzes on Loops |
Easy quiz on loops in C part 1 |
Easy quiz on loops in C part 2 |
Easy quiz on loops in C part 3 |
Quizzes on Decision Making Statement |
Easy Quiz On Decision Making Statements Part 1 |
Easy Quiz On Decision Making Statements Part 2 |
Quizzes on String |
Easy quiz on String in C programming part 1 |
Quizzes on Array |
Easy quiz on Array in C programming – part 1 |
5 – Best Java program to convert decimal to binary |
New Quizzes Coming soon.. |
We are aiming to explain all concepts of C in easiest terms as possible.

ITVoyagers
Author