i had this code written out long time ago and up til now i cant figure out what is wrong with it .. i even tried debugging and im still clueless.
the problem is as follow:
1- when i undo my choice in the else statement i still get the values in the array although i assigned it to zero
2- State = 0 only has one value of i which is zero although there is a loop ..
could u tell me please why my code is ignoring my commands ?
yeah which is weird giving that this is not a valid result and i stated that if it's Queen(queen , ++state , n) is false queen[state] = 0; which is not applied in here and this is not the only problem i complained i encountered in this problem also the first state 0 only have an i of 0 it doesnt go further ignoring the for loop