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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -