Multiple choice technology mainframe

Which of the following is NOT a valid symbol to use in an IF condition

  1. =

  2. = <

  3. >

  4. = >

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In COBOL IF conditions, valid relational operators are =, <, >, =< (less than or equal), and >= (greater than or equal) without spaces. The syntax '= >' with a space between is invalid COBOL syntax and will cause a compilation error.