Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  chessboard
Language: FORTRAN
Code:
program chessboard
implicit none
integer, dimension (1:8,1:8):: board
board(1:8:2,1:8:2) = 1
board(2:8:2,2:8:2) = 1
board(2:8:2,1:8:2) = 0
board(1:8:2,2:8:2) = 0
write (*, 3) board
3 format (8i4/)
stop
end program chessboard
Comments: