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 / geetanjali
ADD 40 X TO X
***********ADD 40 10 TO X
***********X=X+40+10=60
***********COMPUTE X=3*60-40=120
X=120
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How you can characterize tables in cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Name the divisions, which are available in a cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What the difference is between continue and next sentence?
What is the Purpose of Pointer in the string?
What are declaratives and what are their uses in cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Differentiate between structured cobol programming and object-oriented cobol programming.