Write an algorithm and draw a flowchart for caclulating the simple interest
Formula: (SI=P*R*T)/100
Answers
Answer:
Algorithm:
Algorithm is a stepwise “set of rules” to be followed in ‘calculations’ used by computer especially. It is a ‘step by step’ process and simple way to find output of the program. We can easily understand the whole program by this algorithm.
Algorithm to find simple interest:
1. Start the program.
2. Read Principal amount, rate of interest and time period.
3. Calculate interest by using the formula.
(SI=P*R*T)/100
4. Print the simple interest.
5. Stop the program.
Algorithm:
Algorithm is a stepwise “set of rules” to be followed in ‘calculations’ used by computer especially. It is a ‘step by step’ process and simple way to find output of the program. We can easily understand the whole program by this algorithm.
Algorithm to find simple interest:
1. Start the program.
2. Read Principal amount, rate of interest and time period.
3. Calculate interest by using the formula.
(SI=P*R*T)/100
4. Print the simple interest.
5. Stop the program.