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
Get step-by-step solutions from verified subject matter experts
