Write a program that prints the following grid to play tic-tac-toe. You should do it the smart

Question:

Write a program that prints the following grid to play tic-tac-toe.

image text in transcribed

You should do it the smart way, though. Declare string variables to hold two kinds of patterns: a comb-shaped pattern and the bottom line. Print the comb three times and the bottom line once.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: