Originally Posted by
Nickge
I’m new, and I’m trying to learn c programming language, and I’m stuck while trying to make a program
Here’s what I need to make
“The chef wants to play chess and is trained by his coach. The chef knows all the rules of playing chess. To test the chief, coach gives him an assignement
Coach arranges 8 Queens on a chess board and asks chef to check and tell him whether any of the 8 queens is threatening any of the 7 other queens. The chef is facing difficult to find out. Your job is to help chef find whether all queens are safe at their places and say whether the arrangement is valid or not “
So I need to make a program in which I have an 8x8 array, the user put 8 queens on some selected places and then the program checks if it works. If you could help me I would really appreciate it
Thanks in advance!