Code:
***********************************************
Sudoku.java
***********************************************
/**
* @author Ajay.Singh
*
*/
public class Sudoku {
/**
* @return two dimensional array
*/
public static int[][] sudoku(){
final int sudoku[][]={
{7,6,2,5,8,9,3,4,1},
{1,5,3,2,6,4,9,7,8},
{4,8,9,1,3,7,5,6,2},
{6,4,1,3,2,8,7,5,9},
{5,9,7,6,4,1,2,8,3},
{2,3,8,7,9,5,4,1,6},
{9,2,4,8,7,6,1,3,5},
{8,7,5,9,1,3,6,2,4},
{3,1,6,4,5,2,8,9,7}
};
return sudoku;
}
}
If anybody is really interested for this to be written in C, just contact me