+ 17
It won't be compiled as there are lots of syntax errors. int sum=0; for(int i=1; i<5; ++i){ sum = sum+i; } System.out.println(sum); // 10
28th Mar 2017, 4:11 PM
Shamima Yasmin
Shamima Yasmin - avatar