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
what is search and searchall?what is the diffrence between them?give an best example?
What are various search techniques in cobol? Explain.
Write the code to count the sum of n natural numbers.
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?
How arrays can be defined in COBOL?
What guidelines should be followed to write a structured cobol prgm?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
) How do u handle errors in BMS macro
What is comp-1 and comp-2?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is static and dynamic call in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Explain how to differentiate call by context by comparing it to other calls?
How do you define a variable of comp-1 and comp-2?
what happens if parmparameter passes zero bytes to the program