Question PSC-COND-0026
EasyWhat does the following pseudocode print?
Integer a = 5, b = 5
if (a > b)
Print 1
else if (a < b)
Print 2
else
Print 3
end if
- A.
1
- B.
2
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Conditionals question
What does the following pseudocode print?
Integer a = 5, b = 5
if (a > b)
Print 1
else if (a < b)
Print 2
else
Print 3
end if
1
2
Sign up free to see the answer and a step-by-step explanation.
5
3