Aa

Text size

?

Map / Arrays / 11

⌨️ Write

A game board

The board is a char[][]. Write countMarks, which counts the cells equal to mark, and rowWins, which is true when every cell of the given row is mark.

  • char[][]
  • nested for
  • .length