|
K, so today in programming class, we had to do this 8 Queens problem. Basically, we had to make a simple program that would visibly show a chess board like chart with 8 markers on it that represent Queens, and they couldn't be on the same row or anything like that. K, so this probably wouldn't be so hard if it wasn't for the fact that the teachers at this place decide to skip chapters claiming that "Oh, it's not that important."
So anyways, no one knows what to do, so I made a chart using a simple printf statement, like so:
|0|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|o|_|_|_|_|_|_|
And so on. She bought it.
B]
--------------------
|