After this Lab, you will be able to:
A simple loop, as you can see from its name, is the most basic kind of loop and has the following structure:
LOOP STATEMENT 1; STATEMENT 2; … STATEMENT N; END LOOP;
The reserved word LOOP marks the beginning of the simple loop. Statements 1 through N are a sequence of statements that is executed repeatedly. These statements consist of one or more of the standard programming structures. END LOOP is a reserved phrase that indicates the end of the loop construct.
The flow of logic from this structure is illustrated in Figure 8.1.
Every time the loop is iterated, ...