uhm, I know that i should be doing my own homework , but can anyone tell me whats wrong in this part.(This is just a part of the If else if statements im using )
The col is always equal 0.
You must check each of the numbers with the double equal sign, as in..
if(x==29 || x==33 || x==37 ||x== 41 || x==45 || x==49 || x==53 || x==57 || x==61 || x==65 || x==69 || x==73 || x==77)
Some languages MAY let you do the checking the way you have it, but C++ is not one of them.