Course Content
Software Models
Software Models
0/1
Flowgorithm In-built Functions
Flowgorithm In-built Functions
0/1
Flowgorithm Call Symbol
Flowgorithm Call Symbol
0/1
Flowgorithm User-Defined Functions
Flowgorithm User-Defined Functions
0/3
Flowgorithm Recursion
Flowgorithm Recursion
0/1
Flowgorithm Turtle Graphics
Flowgorithm Turtle Graphics
0/2
Popular Programming Languages
Popular Programming Languages
0/1
Flowgorithm Expert

Create an Array

An array is a collection of items( elements ) of the same data type stored using a single variable name in continuous memory locations.

Flowgorithm only supports one-dimensional array.

Declare an array

This step defines the array in the flowchart. We use the Declare flowchart symbol. This symbol will create the array variable.

The number of elements the array can hold is static. The programmer has to specify the size during the array creation process.

Setup Array in Flowgorithm

 

  • Array variable name
  • The data type of the items that we store in the array. For example, we can use the Integer data type to store numbers.
  • Check the checkbox to know that the variable is an array variable in the flowchart.
  • Array size. The maximum number of elements the array can store.