Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COBOL Programming What is the output of following program? IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-NUM1 PIC 9(9). 01 WS-NUM2 PIC 9(9).

COBOL Programming

What is the output of following program?

IDENTIFICATION DIVISION.

PROGRAM-ID. HELLO.

DATA DIVISION.

WORKING-STORAGE SECTION.

01 WS-NUM1 PIC 9(9).

01 WS-NUM2 PIC 9(9).

PROCEDURE DIVISION.

A000-FIRST-PARA.

MOVE 25 TO WS-NUM1

MOVE 15 TO WS-NUM2

IF WS-NUM1 > WS-NUM2 THEN

DISPLAY 'IN LOOP 1 - IF BLOCK'

ELSE

DISPLAY 'IN LOOP 1 - ELSE BLOCK'

END-IF.

STOP RUN.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building The Data Warehouse

Authors: W. H. Inmon

4th Edition

0764599445, 978-0764599446

More Books

Students also viewed these Databases questions

Question

Discuss effective conversational style

Answered: 1 week ago

Question

Azure Analytics is a suite made up of which three tools?

Answered: 1 week ago