Move Zeroes to I
move 5 to j
perform para1 varying I from 10 by -2 until I = 0
display j.
para1.
Add 5 to j.
What’ll be the value after execution of display stmt.
A) 35
B) 40
C) 30
D) 25
please explain how?
Answer Posted / shivakumar deshpande
Gayathri is correct ie Answer -3 is correct
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
i need a small 3d program using inline and outline.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the access modes of START statement?
how to convert the recors form vsam file to db2 table tru file aid
what is the use of outrecord?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Define static linking and dynamic linking.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What guidelines should be followed to write a structured cobol prgm?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is amode(24)?
How do you define a variable of comp-1 and comp-2?
Write some characteristics of cobol as means of business language.
what are decleratives in cobol?