Page 1 of 1

Hello! I am in a beginner C++ class, and would appreciate some help with this assignment. I have provided the instructio

Posted: Tue May 24, 2022 8:07 am
by answerhappygod
Hello! I am in a beginner C++ class, and would appreciate some
help with this assignment. I have provided the instructions and the
data contained in the text files. Please read and ensure it works
according to the instructions. I appreciate the help!
Hello I Am In A Beginner C Class And Would Appreciate Some Help With This Assignment I Have Provided The Instructio 1
Hello I Am In A Beginner C Class And Would Appreciate Some Help With This Assignment I Have Provided The Instructio 1 (103.49 KiB) Viewed 19 times
- w b w b w b w
- b w b w b w b
b w b w b w b w
w b w b w b w b
b w b w b w b w
w b w b w b w b
b w b w b w b w
w b w b w b w b
output.text:
Tiled by dominoes: yes with 31 dominoes
Checkerboard Tiling:
-- 01 02 03 04 05 06 07
-- 01 02 03 04 05 06 07
08 08 09 09 10 10 11 11
12 12 13 13 14 14 15 15
16 16 17 17 18 18 19 19
20 20 21 21 22 22 23 23
24 24 25 25 26 26 27 27
28 28 29 29 30 30 31 31
Given a standard checkerboard, determine if that board can be tiled by dominoes. Your program must read in a checkerboard file as a command-line argument. Here's an example of what the checkerboard file will look like: checkerboard.txt. The answer to the given queries must be outputted to a file which should look like: output.txt. You will receive credit for this assignment if your program meets the following criteria: 1. executes and functions properly, 2. reads a file from the command line, 3. outputs results to a file, 4. correctly determines if the board can be tiled by dominoes, 5. and displays the board as a series of dominoes if it can be tiled.