Arrays - Example 3

This allows you to place chess pieces on a chess board. Please type the name of the piece (or XXX if you don't know much about chess). You will then be asked for two numbers, both in the range 1 to 8. To finish, just press Enter when asked for the name. The program will then display the chess board.


Go back
Go Back