java - for(i=center && j=center;i>=center && i<n- 1 && j>=center && j<n-1;i++ && j--) -


please tell if can give multiple condition in loop. in above statement giving error as:

for(i=center && j=center;i>=center && i=center && j ^

1 error:

java.lang.runtimeexception: /eightieskids4.java:23: error: not statement

if i & j aren't defined:

for(int i=center, j=center; // pre-condition >= center && < n- 1 && j < n-1; // condition i++, j--) // post-condition 

Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -