Quote:
Originally Posted by Catire
Basically all I was taught about C is how to use printf and scanf and to include the libraries, then I was given a general overview of what an array is and then I was told to build a program that built a 4x4 grid, asked me for the values of 4 cells and then filled the rest of the cells so that no number repeats in either a column or a row (he didnt ask for the 2x2 boxes just rows and columns.)
|
Really? So, just add one to each cell. Can the numbers be any range?
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
None of those repeat.
I assume it isn't that easy what he is asking for.
BOb