Course Content
Flowgorithm Expressions
Flowgorithm Expressions
0/1
Debug Flowgorithm Flowchart
Debug Flowgorithm Flowchart
0/1
Flowgorithm Control Statements
Flowgorithm Control Statements
0/1
Flowgorithm Loops
Flowgorithm Loops
0/1
Flowgorithm For Loop
Flowgorithm For Loop
0/1
Flowgorithm While Loop
Flowgorithm While Loop
0/1
Flowgorithm Do Loop
Flowgorithm Do Loop
0/1
Flowgorithm Nested Loops
Flowgorithm Nested Loops
0/1
Export Flowgorithm Flowchart
Export Flowgorithm Flowchart
0/1
Flowgorithm Intermediate
About Lesson

Control statements allow you to control the flow of execution
of the flowchart.

Types of Control Statements

Types of control statements in the Flowgorithm are as follows:

  • Sequence
  • Selection
  • Repetition
  • Call

Sequence

Statements are executed in sequence, meaning one after another by default. This is the default control flow of the flowchart, from top to bottom. You can use the other control statements, to change this default flow.

Selection

The selection control statement allows you to execute certain code blocks based on whether a condition is True or False. The Flowgorithm selection statement is the If statement. It checks the specified condition and executes a code block if it is true.

Repetition

The repetition control statement allows you to execute a code block multiple times. The Flowgorithm supports the following control statements.

  • For Loop
  • While Loop
  • Do Loop

Call

The Call symbol transfers the control to the invoked function. The flowchart interpreter executes the function and returns the control to the next flowchart symbol after the Call symbol.