Flowgorithm Arithmetic Operators
Overview
In this tutorial, we will learn about Flowgorithm Arithmetic operators. The Flowgorithm supports many arithmetic operators for performing mathematical operations on Integer and Real numbers. These operators are also called mathematical operators.
The basic mathematical operations are:
- Addition
- Subtraction
- Multiplication
- Division
- Modulus
Arithmetic Operators
Flowgorithm Arithmetic operators are as follows:
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:
Exercises
Calculate the output of the following expression:
185 % 10
—
Flowgorithm Tutorials
Flowgorithm flowchart tutorials on this website:
https://www.testingdocs.com/flowgorithm-flowchart-tutorial/
Flowgorithm Website
For more information on the Flowgorithm tool, please visit the official website at: