Let’s create a flow chart to calculate the area of the circle using the Flowgorithm flowchart tool. At the end of this tutorial, you should be able to create a flow chart using the Flowgorithm application to compute the Area of a circle.
Basic flowchart operations are listed here:
|Radius of the circle(radius)||Area = pi * radius * radius||Area of the circle(Area)|
Launch the Flowgorithm app.
Save the flowchart with AreaCircle.fprg ( File >> Save menu option)
Right-click and add a Declare variable called: radius
In the variable Type, drop-down choose: Real
Repeat the same, right-click and add a Declare variable called: Area
Prompt the User
Now we will prompt the user to enter the radius of the circle. To add an Output symbol, right-click and add the output symbol. Click on the Output symbol and enter the user prompt
“Enter the radius of the circle =”
Add an input symbol to store the value entered by the user. Click on the Input symbol and type radius.
Calculate the Area
Now we need to compute the area of the circle. Add an Assign flowchart symbol and double click on it.
Area = 3.14 * radius * radius
Now we need to output the computation dome to the user. Add an Output symbol and double click on it.
“The area of the Circle is = ” & Area
& is a string concatenation symbol in the Flowgorithm tool.
Run the flowchart
Run the flowchart to compute the area of the circle.
Enter the radius of the circle =
The area of the Circle is = 19.625
Flowgorithm Tutorials Link: