Question PSC-FUNC-0027
EasyWhat does the following pseudocode print?
Function isEven(Integer n)
return (n mod 2 == 0)
End Function
Print isEven(7)
- A.
1
- B.
7
- C.
true
- D.
false
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
Functions and Recursion question
What does the following pseudocode print?
Function isEven(Integer n)
return (n mod 2 == 0)
End Function
Print isEven(7)
1
7
true
false
Sign up free to see the answer and a step-by-step explanation.