+ 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); } }

30th Dec 2021, 7:21 AM
Ashutosh kr. Singh
Ashutosh kr. Singh - avatar
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){ }
30th Dec 2021, 7:40 AM
JRAMAHES
JRAMAHES - avatar