Flowgorithm Expressions

Flowgorithm Expressions are used to perform calculations, make decisions, and control the flow of the program. The building blocks of expressions are:

  • Operands
  • Operators
  • Symbols
  • Literals
  • Method calls

An expression evaluates to a single value. Flowgorithm Expressions can be broadly classified as:

  • Basic/Simple Expressions
  • Compound Expressions

Basic Expressions

Basic expressions cannot be reduced or simplified into smaller expressions.

General examples  are

Single literal values

25

a++

“Hello”

Compound Expressions 

Compound expressions are made up of basic expressions and can be simplified or broken down into several simple expressions.

Examples:

num1 + num2

( a + (b*c))