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
Name the sections present in data division.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is difference between static and dynamic call in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Can you please let me know the centre name of INS certification in Kolkata.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is rmode(any) ?
Explain about different table spaces.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Which is not true about evaluate statement
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
How you can characterize tables in cobol?
What is static and dynamic call in cobol?
How do you reference the following file formats from cobol programs?
How many sections are there in data division in COBOL?