Algorithm And Flowchart To Calculate Compound Interest
Input rate in some variable say rate.
Algorithm and flowchart to calculate compound interest. And write an interactive program to calculate simple interest and compound interest. Calculate compound interest using formula ci principle pow 1 rate 100 time. Compound interest formula p principal amount the initial amount you borrow or deposit r annual rate of interest as a decimal t number of years the amount is deposited or borrowed for. Store it in some variable say principle.
Input time in some variable say time. Step 3 calculate interest using formula si amount rate time 100 step 4 print simple interest. Compound interest p 1 r 100 r where p is principle amount r is the rate and t is the time span. Where p is principle amount r is the rate and t is the time span.
I have also created a flow chart to show the algorithm used. Store it in some variable say principle. Step by step descriptive logic to find compound interest. The algorithm to calculate the simple interest and compound interest is as follows.
Step 2 read principal amount rate and time. Input time in some variable say time. Algorithm and flowchart 1 c program to find the simple interest algorithm step 1 step 2 step 3 step 4 step 5 start read principal amount rate and time algorithm and flowchart 1 c program to find the simple. Input rate in some variable say rate.
I have shqwn how to use a calculator to find n in the compound interest formula for students who do not have the skill for logs. Print the value of si. Write an algorithm and draw the flowchart to find the simple interest. Formula to calculate compound interest annually is given by.