Is compute w=u a valid statement ?
A
Correct answer
Explanation
The COBOL statement COMPUTE W=U is valid syntax. The COMPUTE verb assigns the result of an arithmetic expression to a receiving field. In this case, it simply assigns the value of U to W. While MOVE would be more typical for simple assignment, COMPUTE is syntactically correct and functional.