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


Please Help Members By Posting Answers For Below Questions

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?

890


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


How to print 10 to 1 if the input have only 10 digit number?

806


Difference between array and sub-script ?

1157


Difference between cobol and cobol-ii?

704






How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


What are the different types of condition in cobol and write their forms.

654


What is the difference between structured cobol programming and object alternativelyiented cobol?

748


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


What are the different open modes available in cobol?

713


) How do u handle errors in BMS macro

1502


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

652


What are all the divisions of a COBOL program?

660


What is the local-storage section?

677


What is length is cobol?

641