Answered step by step
Verified Expert Solution
Question
1 Approved Answer
COBOL Programming What are the output of the code below? DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR-1 PIC 9(04) VALUE 2561. 01 VAR-2 PIC 9(06). 01
COBOL Programming
What are the output of the code below?
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR-1 PIC 9(04) VALUE 2561.
01 VAR-2 PIC 9(06).
01 VAR-3 PIC 9(02).
PROCEDURE DIVISION.
MOVE VAR-1 TO VAR-2.
MOVE VAR-1 TO VAR-3.
DISPLAY VARIABLE-1 : VAR-1.
DISPLAY VARIABLE-2: VAR-2.
DISPLAY VARIABLE-3: VAR-3.
STOP RUN
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started