Multiple choice technology

Indicate which one of the following is correct

  1. MULTIPLY A BY B GIVING C

  2. MULTIPLY A TIMES B

  3. MULTIPLY A INTO B

  4. MULTIPLY A BY B BY C

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

MULTIPLY A BY B GIVING C is correct COBOL syntax. The GIVING clause stores the result in a named variable. The other options are invalid: TIMES is not a valid keyword, INTO omits the result clause, and chaining multiple BY operators is not allowed.