+ 1
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else {
3 Réponses
0
Your code is kinda missing the else statement
0
show the end of your code, cycle isn't complete and there's no output statement. from what we can see now, you'll get "result +=10" only once in your cycle
0
17