given the following:
77 A PIC 9V9 VALUE 9.5
77 B PIC 9 VALUE 9.
77 C PIC V9 VALUE 0.8
77 D PIC 9
77 E PIC 9
77 F PIC 9V999
what are the contenta of D E nad F after the following
statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589 E=8 D=1
b.F=9.589 E=8 D=9
c.F=9.589 E=7 D=9
d.F=9.589 E=7 D=1
Answer Posted / maneesh
d in the answer
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How to print 10 to 1 if the input have only 10 digit number?
Difference between array and sub-script ?
Difference between cobol and cobol-ii?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the different types of condition in cobol and write their forms.
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different open modes available in cobol?
) How do u handle errors in BMS macro
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are all the divisions of a COBOL program?
What is the local-storage section?
What is length is cobol?