Code:
import java.util.Scanner;
public class Sudoku4 {
protected int n=4, checkSum=10, failCount=0;
protected Scanner input = new Scanner(System.in);
public Sudoku4 () {
int[][] a = new int[n][n];
for (int iRow = 0 ; iRow < n ; iRow++) {
System.out.print ( "Enter Row #"+(iRow+1)+ ": ");
Leave a comment: