User Tools

Site Tools


checkerboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
checkerboard [2024/10/29 13:13] frchrischeckerboard [2024/10/29 13:15] (current) frchris
Line 2: Line 2:
  
 Make a checkerboard Make a checkerboard
 +
 +
 +Write a graphical application that displays a checkerboard with 64 squares, alternating white and black.
 +
 +Use nested loops.  Hint:  You can add the row and column, and if it is odd make it one color, and if it is even, you can made it the other color.
 +
  
 <code java CheckerBoard.java> <code java CheckerBoard.java>
checkerboard.1730222008.txt.gz · Last modified: 2024/10/29 13:13 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki