← BYTES
COBOL·Starter·Ref: 21.1.15

Which statement correctly tests a condition in COBOL?

Have a question about this video? Mention reference 21.1.15 when you contact us.

a.CHECK BALANCE > 0 ... ENDCHECK
b.WHEN BALANCE > 0 ... ENDWHEN
c.TEST BALANCE > 0 ... ENDTEST
d.IF BALANCE > 0 ... END-IF
COBOL uses IF ... [ELSE ...] END-IF for conditional logic, the same general shape as most procedural languages.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES21115#COBOL