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
Post a Comment