Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X - 40.
The result in X is
Answer Posted / varun v
I agree with Ans #4. I also checked the same..Value of X
will be 40...
Please please verify it thouroughly before publishing the
answers...Wrong answers will mislead people..
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is a SSRANGE and NOSSRANGE?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Which division and paragraphs are mandatory for a COBOL program?
Give some examples of command terminators?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between binary search and sequential search?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Whats the difference between search & search ALL?
What is rmode(24)
how can i see junk values in dclgen or in hostvariable of comp ?
What are the different rules of SORT operation?
What are the access modes of START statement?