View Single Post
Old 11-16-2009, 06:26 PM   #6444
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by Catire View Post
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
pilotbob is offline   Reply With Quote