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

Flowgorithm Arithmetic Operators

The Flowgorithm supports many arithmetic operators that perform mathematical operations on numbers(Integers and Real). These operators are also called mathematical operators.

The basic mathematical operations are:

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Modulus

 

Arithmetic  Operator Operator  Symbol Description
Addition + a + b Adds a and b variables
Subtraction  – a – b Subtracts b from a
Multiplication *,× a * b Multiplies a and b
Division /,÷ a / b Divides a by b
Modulo  % a % b Computes the remainder of dividing a by b.

Example

The following flowchart example illustrates the basic use of the operators:

 

Flowgorithm Arithmetic Operators

Exercise

Calculate the output of the following expression:

185 % 10

Flowgorithm Modulus Exercise