Question PSC-COND-0045
MediumWhat will be printed by the following pseudocode?
Integer a = 3, b = 3, c = 4
if (a == b and b == c)
Print "equilateral"
else if (a == b or b == c or a == c)
Print "isosceles"
else
Print "scalene"
end if
- A.
scalene
- B.
isosceles
- C.
Sign up free to see the answer and a step-by-step explanation.