dim chessboard(7,7) as integer
for i =0 to chessboard.getupperbound(0)
for j =0 to chessboard.getupperbound(0)
if (i+j) mod 2 = 0 then
console.out.Write(chessboard(i,j)="B")
else
console.out.writeline(chessboard(i,j)="W")
end if
next
next
console.in.readline()
It looks like you're new here. If you want to get involved, click one of these buttons!