read*,i,j do k=1,i do l=1,j print'(i1$)',1-mod(k+l,2) if(l<j)print'(" "$)' enddo print* enddo end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page