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 / sinha

c is the answer

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is search and searchall?what is the diffrence between them?give an best example?

5538


What are various search techniques in cobol? Explain.

641


Write the code to count the sum of n natural numbers.

697


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?

2091


How arrays can be defined in COBOL?

661






What guidelines should be followed to write a structured cobol prgm?

665


What is the difference between a binary search and a sequential search what are the pertinent cobol?

726


) How do u handle errors in BMS macro

1502


What is comp-1 and comp-2?

756


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17025


What is static and dynamic call in cobol?

590


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1948


Explain how to differentiate call by context by comparing it to other calls?

681


How do you define a variable of comp-1 and comp-2?

699


what happens if parmparameter passes zero bytes to the program

1656