Indicate which one of the following is correct
-
MULTIPLY A BY B GIVING C
-
MULTIPLY A TIMES B
-
MULTIPLY A INTO B
-
MULTIPLY A BY B BY C
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.