c

C Program to Calculate Simple Interest and Compound Interest

In this article, we will write a program to calculate simple interest and compound interest. The formula for simple interest and compound interest is given below: First the program will ask the user to enter principal amount, time period and rate of interest. Then we will use the above formulas to calculate S.I and C.I.