next up previous contents
Next: Solution Up: Arrays Previous: Solution

 

Array Sections

Declare an array which would be suitable for representing draughts board. Write a program to set all the white squares to zero and the black squares to unity. (A draughts board is tex2html_wrap_inline2882 with alternate black and white squares)




next up previous contents
Next: Solution Up: Arrays Previous: Solution

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996