Question PSC-OPS-0058
MediumWhat does the following pseudocode print?
Integer a = 4
Integer b = (a + 2) * (a - 2) / 3 mod 3
Print a, b
- A.
4 0
- B.
6 1
- 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
Operators and Expressions question
What does the following pseudocode print?
Integer a = 4
Integer b = (a + 2) * (a - 2) / 3 mod 3
Print a, b
4 0
6 1
Sign up free to see the answer and a step-by-step explanation.
4 1
4 4