Question PSC-COND-0029
EasyWhat does the following pseudocode print?
Integer a = 10
if (a > 5 or a < 0)
Print "Yes"
else
Print "No"
end if
- A.
YesNo
- B.
No
- 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 = 10
if (a > 5 or a < 0)
Print "Yes"
else
Print "No"
end if
YesNo
No
Sign up free to see the answer and a step-by-step explanation.
Yes
10