0

What is the output of this code? Explain Why and How?

int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else { result += i; } } System.out.println(result);

7th May 2018, 10:48 AM
Shuvongkor Barman
Shuvongkor Barman - avatar
1 Respuesta
7th May 2018, 11:01 AM
)_)
)_) - avatar