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 the difference between Structured COBOL Programming and Object Oriented COBOL programming?
explain sorting techniques in cobol program?
What are the different types of condition in cobol and write their forms.
What are the access modes of START statement?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How do we get current date from system with century in COBOL?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is a scope terminator give example?
Write down the divisions of cobol program?
In COBOL programming, what is PERFORM? What is VARYING?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the Purpose of Pointer in the string?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How many sections are there in data division in COBOL?
What are the various section in data division and briefly explain them.