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
) how do u code after getting data?
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?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to remove 2 duplicate records and copy only one using job control language?
Write the code to count the sum of n natural numbers.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Name the sections present in data division.
what is difference between cobol and cobol/400
What is difference between static and dynamic call in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What are the pertinent COBOL
how to refer the data field?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Explain what you understand by passing by value.