+ 1
plzz helllp
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else { result += i; } } System.out.println(result);
3 Answers
+ 34
17
+ 9
You can run the code in Code Playground.
- 1
11 will be for sure