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
Answer Posted / dsfd
a=10,b=6 and c= 10
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
how to convert the recors form vsam file to db2 table tru file aid
) what is the difference between AID and HANDLE AID?
What are all the divisions of a COBOL program?
Are you comfortable in cobol or jcl?
In COBOL programming, what is PERFORM? What is VARYING?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is a scope terminator give example?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the problem of ordered sequential files access?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the different types of condition in cobol and write their forms.
What are the rules of the move verb?
What is redefines clause in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example