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 / suputhru
Gaayathri is right!!!
para1 will be performed only 5 times
J is 5+(5*5) equals 30
correct answer is c) 30
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
Why occurs cannot be used in 01 level in COBOL?
What are the different rules of SORT operation?
In which area will you utilize 88 level items in cobol?
How do you get the data to code the BMS macro?
What do you understand by psb and acb?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how do you reference the variable block file formats from cobol programs
What are literals?
How do get the result of your program directly on your pc?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between goback, stop run and exit program in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that