+ 3
Can anyone please tell me what's the problem in this progranđ
for(int a=2;a<=20;a=a+2) { for(int i=1;i<=10;i++) { System.out.println(a*i); } }
3 Answers
- 2
Like what I am looking in this code that I do not see the logic of the for loop.
in the increment section in my understanding, we can't = another variable.
example for(ini , cond, incr){
}