If A>B
next sentence
end-if
display 1
display 2.
display 3.
If a>b, it will display only 3.(the next sentence,
ie., after fullstop/period)
____________________________________
if a>b
continue
end-if
display 1
display 2.
display 3.
If a>b, it Will display 1 2 3 (the next statement)
____________________________________
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Answer Posted / muttaiah
Really, Did someone execute this code before posting your
answers..
If a novice goes through this chat he will get confused
like which answer is correct
The asnwer is 2 3 4 why because whenever control encounters
continue it will start executing the stmt only after scope
terminator which is end-if in this case.
so 2 3 4 is the answer i have executed the code also.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol?
Define cobol?
Describe the cobol database components?
What is a SSRANGE and NOSSRANGE?
how do you reference the variable block file formats from cobol programs
What is the difference between external and global variables in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?
What are all the divisions of a COBOL program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Write the code to count the sum of n natural numbers.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is link edit in cobol?
) what is the difference between AID and HANDLE AID?
Write some characteristics of cobol as means of business language.
Explain the configuration section of a cobol program with examples of syntax.