Flowchart And Algorithm For Simple Interest
In the following flowchart p is principle amount r is rate of interest n is number of years and i is used for simple interest.
Flowchart and algorithm for simple interest. Savings bank account holder gets interests on their deposits in bank. Write an algorithm and draw the flowchart to find the simple interest. A flowchart is the graphical or pictorial representation of an algorithm with the help of different symbols shapes and arrows in order to demonstrate a process or a program. Find the simple interest by multiplying p r n and divide them by 100 si p r n 100.
Algorithm to find simple interest. Answered aug 30 2018 by sunidhibharti 88 9k points selected aug 30 2018 by faiz. Click the icon on the side of the box shapes will be added. Read principal amount rate of interest and time period.
Share it on facebook twitter email. The algorithm to calculate the simple interest and compound interest is as follows. Step 3 calculate interest using formula si amount rate time 100 step 4 print simple interest. We can easily understand the whole program by this algorithm.
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. Step 5 stop cpp program to find compound interest for given values. Print the value of si. Algorithm and flowcharts helps to clarify all the steps for solving the problem.
Set the count t to 1 implying the end of a year. Algorithm and flowchart are the powerful tools for learning programming. Calculate interest by using the formula. Read the values of principal amount time and rate of simple interest into the locations labelled as p t r.
The main purpose of a flowchart is to analyze different processes. With algorithms we can easily understand a program. Calculate simple interest algorithm basic computer science. Step 2 read principal amount rate and time.
The flowchart for simple interest is attached below. As shown in this picture. Loan takers from the bank pay the interest to the bank. While drawing flowcharts with edraw flowchart maker shapes can be simply dragged and dropped beside the box at any direction right left up or below with the help of mouse and they will be connected by arrows automatically.
A flow chart to calculate simple interest prev. Input the principal amount p rate of intrest r and number of years n. An algorithm is a step by step analysis of the process while a flowchart explains the steps of a program in a graphical way. Adding shapes in flowcharts.