Multiple choice technology mainframe

IF NOT AGE LESS THAN 30 AND 40 GO TO PARA-AGE-MIDDLES. The controls will go to the paragraph named PARA-AGE-MIDDLE.

  1. if AGE is greater than or equal to 40.

  2. If AGE is greater than or equal to 30.

  3. If AGE is greater than or equal to 30 but less than 40.

  4. If AGE is less than or equal to 30.

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

In COBOL, 'NOT AGE LESS THAN 30 AND 40' is interpreted as checking if AGE falls outside the range below 30 and below 40. This executes when AGE is in the range 30 to 39 (greater than or equal to 30 but less than 40), transferring control to PARA-AGE-MIDDLE.