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


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

719


What is a SSRANGE and NOSSRANGE?

836


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

863


Which division and paragraphs are mandatory for a COBOL program?

715


Give some examples of command terminators?

763






In COBOL programming, what is PERFORM? What is VARYING?

676


What is the difference between structured cobol programming and object alternativelyiented cobol?

764


What is the difference between binary search and sequential search?

648


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

835


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

835


Whats the difference between search & search ALL?

5289


What is rmode(24)

686


how can i see junk values in dclgen or in hostvariable of comp ?

2550


What are the different rules of SORT operation?

704


What are the access modes of START statement?

728