DEV Community


Chessboard pattern problem

niharikapujari profile image Niharika Pujari ・1 min read

Chessboard problem:

Write a program that creates a string that represents an 8 x 8 grid. At each position of the grid there is either a space or # character. The characters should form a chessboard.

Alt Text


Alt Text

Happy Coding!

Discussion (0)

Forem Open with the Forem app