Question: Program code anaylsis 1 DECLARE 2 a NUMBER: = 0 ; 3 b NUMBER; 4 upper - limit NUMBER : = 4 ; 5 BEGIN

Program code anaylsis
1 DECLARE
2 a NUMBER:=0;
3 b NUMBER;
4 upper-limit NUMBER :=4;
5 BEGIN
6 dbms_output.put_line(Program started.');
7outerloop
8 LOOP
9 a:=a+1;
10 b:=l;
11inner loop
12 LOOP
13 EXIT outer_loop WHEN a > upper_limit;
14 dbms_output.put_line(a);
15 b:=b+l;
16 EXIT inner_loop WHEN b>a;
17 END LOOP;
18 END LOOP;
19 dbms_output.put_line('Program completed.');
20 END;
/
Please fill below program /code explanation for missing lines
Code Explanation: (some lines are given to you)
Code line 2-3: Declaring the variable a and b as NUMBER data type.
Code line 4: Declaring the variable upper_limit as NUMBER data type with value 4
Code line 6:
Code line 7:
Code line 9:
Code line 11:
Code line 13: EXIT what?
Code line 14:
Code line 15: Increments by .......
Code line 16:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!