Where is the bug?

Report a typo

A programmer wrote the pseudocode for a function that takes two numbers as input, multiplies each of them by two, and returns the sum of the results.

BEGIN
    NUMBER A, B
    A = A * 2
    B = B ^ 2
    sum = A + B
    RETURN sum
END

But there is going to be an error when the code is implemented and running. Which line should be stopped first to see that the execution result is incorrect?

Select one option from the list
___

Create a free account to access the full topic