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.
- 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.