Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the role of the END-IF statement in COBOL?
Answer: The END-IF statement in COBOL marks the end of an IF statement block. It is used to indicate the conclusion of the conditional code and resume normal program flow.

Example:

IF AMOUNT > LIMIT
  DISPLAY 'Amount exceeds limit'
END-IF.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook