Sudoku puzzles are made up of the numbers 1-9 arranged in a 9by9 grid, where every number must appear exactly once in every column, row and 3by3 block in order for the solution to be valid. Sudoku puzzles are often given as competition in newspapers. Your job is to write a sudoku checker that will check if sudoku solution is valid or not. Input will come in the form of an arbitrary number of 9by9 grids of the digits 1-9, separated by spaces. For each grid, you must output either 'Valid' or 'Invalid' on a separate line. Input is terminated by a blank line.
Sudoku Checking
Collapse
X
-
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.
Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.
Then when you are ready post a new question in this thread.
BV - MODERATOR
Comment