Computer Science for IGCSE & O level - Programming (Section 6 - No. 45)

What is the purpose of the `DECLARE` statement in the pseudo-code examples?
To display output to the user.
To define the structure of an algorithm.
To declare variables and their data types.
To define a loop.

Explanation

The `DECLARE` statement is used to allocate memory and specify the kind of data that a variable will store.

Comments (0)

Advertisement