Question PSC-OPS-0068
HardWhat will be printed by the following pseudocode?
Integer total = 100
total -= 10
total *= 2
total /= 3
total %= 7
Print total
- A.
4
- B.
5
- C.
60
- D.
3
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 will be printed by the following pseudocode?
Integer total = 100
total -= 10
total *= 2
total /= 3
total %= 7
Print total
4
5
60
3
Sign up free to see the answer and a step-by-step explanation.