C Program to calculate Simple Interest1 min read

In this tutorial, we will write a program to find the Simple Interest in C. And the formula to calculate the Simple Interest (SI) is:

SI = ((p * r * t) / 100))
where,
p = Principal
r = Rate of Interest
t = Time Period

Explanation:
The program takes the user input for Principal, Rate, and Time, calculates the result, and displays the result on the screen.


C Program to calculate the Simple Interest

Output:

Enter the principal: 34000
Enter the rate: 30
Enter the time: 5

The simple interest is: 51000.00

The above source code to calculate the Simple Interest in C is compiled and ran successfully on a windows system. Browse through C Program to learn more.


MORE

C Program to Convert Decimal to Binary

In this tutorial, we will write a C program to convert decimal to binary. Before that, you must have knowledge of the following topics in …
Read More

C Program to Convert Binary to Decimal

In this tutorial, we will write a program to convert binary to decimal in C. Before that, you must have knowledge of the following topics …
Read More

C Program to Print ASCII Value of a Character

In this tutorial, we will write a program to print ASCII value of a character in C programming. Before that, you should have knowledge on …
Read More

Java Program to Convert Binary to Hexadecimal

In this tutorial, we will write a Java Program to Convert a Binary Number to Hexadecimal Number. Before that, you must have knowledge of the …
Read More

Java Program to Convert Hexadecimal to Binary

In this tutorial, we will write a Java Program to Convert a Hexadecimal Number to Binary Number. Before that, you must have knowledge of the …
Read More

Java Program to Convert Hexadecimal to Decimal

This is a Java Program to Convert a Hexadecimal Number to its decimal Equivalent. Before that, you must have knowledge of the following topics in …
Read More