What will be the output of the following pseudocode? SET x TO 5 SET y TO 5 IF…

Accenture · 2024

What will be the output of the following pseudocode?

SET x TO 5
SET y TO 5

IF x >= y THEN
OUTPUT "x is greater than or equal to y"
ELSE
OUTPUT "x is less than y"
END IF

  1. A.

    x is greater than or equal to y

  2. B.

    x is less than y

  3. C.

    5

  4. D.

    Error

Attempted by 391 students.

Sign up free to check your answer

Sign up free

Explore the full course: Accenture Preparation

Loading lesson…