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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -