study the following
01 A PIC 99V0 VALUE 5
01 B PIC 9V9 VALUE 6
01 C PIC 99V9 VALUE 2.5
01 D PIC 99 VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above
statement are
a.A=10 B=0 C=10
b.A=10 B=9.9 C=9.9
c.A=10 B=0 C=9.9
d.A=10 B=6 C=10
Post New Answer View All Answers
Give some examples of command terminators?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How arrays can be defined in COBOL?
Name the sections present in data division.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
When is inspect verb is used in cobol?
What are the access modes of START statement?
How do you reference the following file formats from cobol programs?
What is the difference between perform … with test after and perform … with test before?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Define static linking and dynamic linking.
Whats the difference between search & search ALL?
What are the various section in data division and briefly explain them.
What is the difference between comp and comp-3?