See the example below
Problem: Create a solution to find the area of a circle.
Problem Definition: Create a program which prompts the user to enter the radius of a circle, and outputs its area.
Algorithm in narrative form:
1. Welcome the user and proceed to prompt the user to enter the radius of the circle.
2. Store the entered radius in a variable.
3. Use the formula for the area of a circle: Area = π × radius² (where π is approximately 3.14159).
4. Calculate the area by squaring the radius and multiplying the result by π.
5. Output the calculated area of the circle to the user.
6. End the program with a thank you message.
Algorithm in Pseudocode:
START
R ← 0
AREA ← 0
pi ← 3.14159
OUTPUT "Welcome to the Area of a Circle Calculator"
OUTPUT "Please enter the radius of the circle:"
INPUT R
AREA ← pi * (R * R)
OUTPUT "The area of the circle is: ", AREA
OUTPUT "Thank you for using the calculator!"
STOP
See Flowgorithm File And flowchart graphic here: https://drive.google.com/drive/folders/1Lbf_A-SdV5F4P1YEFui1scGLc3FGVFG1?usp=sharing
Try It: Trace an Algorithm and Its Memory
Use Next Step to run one instruction at a time, or Play to run automatically. Watch the highlighted classic flowchart symbol and the variables in memory.
| Variable | Value |
|---|---|
| R | Not set |
| AREA | Not set |
| pi | Not set |
Output screen
Waiting to start…
Explanation
Choose Next Step.
Execution history
JavaScript has not started. If this message remains after a refresh, the WordPress preview is not executing this block’s script.
Updates to this post
24 October 2026: Added and improved the interactive classic GOST-style flowchart simulator for the area-of-a-circle algorithm. Students can step forward or backward through the instructions, watch variables change in memory, inspect the output and execution history, and enter different radius values. The simulator now includes automatic Play/Pause, adjustable playback speed, Run to End and Reset, with Flowgorithm-inspired colours for flowchart shapes.
© 2024 Vedesh Kungebeharry. All rights reserved.