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 have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Which division and paragraphs are mandatory for a COBOL program?
What is amode(31)
What is the difference between perform … with test after and perform … with test before?
how do you reference the esds vsam file formats from cobol programs
Can you please let me know the centre name of INS certification in Kolkata.
What kind of error is trapped by on size error option?
How many sections are there in data division in COBOL?
Whats the difference between search & search ALL?
What are the different open modes available in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Write some characteristics of cobol as means of business language.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the difference between Global and External Variables?