Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
Answer Posted / madhu
x=x-20 will be -10
Since there is a -ve sign in the beginning it'll be stored
on top of the last digit. So -0 = }.
Then ans will be 1}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
What is the difference between next sentence and continue in cobol programing language?
What is inspect in cobol ?
What are 77 levels used for?
how do you reference the fixed unblock file formats from cobol programs
What is the utilization of copybook in cobol?
What is perform what is varying?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How you can characterize tables in cobol?
) How do u handle errors in BMS macro?
Have you used comp and comp-3 in your project? And how?
What is cobol?
What are different data types in cobol?
What are the different data types in cobol?
What is the difference between binary search and sequential search?