The calculation result

Report a typo

A programmer wrote a pseudocode program that takes three numbers A, B, and C as input, modifies each of them and returns the sum of the results:

BEGIN
    NUMBER A, B, C
    A = A * 2
    B = B + C
    C = A + B - 2
    RETURN A + B + C
END

Then the programmer implemented the code and ran it. In the code, the programmer put a breakpoint on the line C = A + B - 2.

What will be the values of the numbers A, B, C after stopping the program if their initial values were 5, 7, and 9, respectively?

Select one option from the list
___

Create a free account to access the full topic