Question: Define 3 numeric fields with length of 9, NUM1 with value 5, NUM2 with value 10, NUM3 with value 15. Using the fields defined ,

Define 3 numeric fields with length of 9, NUM1 with value 5, NUM2 with value 10, NUM3 with value 15.

Using the fields defined , what is the result if we compile and execute the code below.

PROCEDURE DIVISION.

ADD NUM1 NUM2 TO NUM3.

DISPLAY "NUM3 : " NUM3.

ADD NUM1 NUM2 GIVING NUM3.

DISPLAY "NUM3 : " NUM3.

.

STOP RUN.

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!