Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am only in Computer Science 3 so keep at as simple as possible please. Thank you! HOMEWORK # 1 CSC 240 FALL 2018 DUE
I am only in Computer Science 3 so keep at as simple as possible please. Thank you!
HOMEWORK # 1 CSC 240 FALL 2018 DUE DATE: 9/13/2018 4120(16 Instruction for submitting your program: 1- Rename your program file to your FirstName LastName HW1 java 2- Create a text file called README.TXT and describe your problem-solving approach. 3- Move all of your files to a folder FirstName LastName HW1 4- Convert this folder to a zip file 5- Send the zip file to me via email before the due date. A Sudoku is a 9-by-9 grid of squares divided into nine 3-by-3 square blocks. The object is to fill the 9-by-9 grid in a way that each of the numbers from 1 to 9 appears exactly once in each row column and block. Problem: Write a Java program that gets a two-dimensional array of 9*9 of integers as input and verifies whether this matrix is a solution to a particular Sudoku puzzle. For Example, your program must return "TRUE" for the following matrix. 18 49 63 7 2 5 5 6 27 4 8 3 1 9 3 9 7 5 1 2 864 2 3 9 6 5 7 1 4 8 7 5 6 1 8 4 2 9 3 4 1 8 2 3 9 6 5 7 9 4 1 3 7 6 5 8 2 6 2 3 895 4 7 1 8 7 5 4 2 19 3 6 Notes: 1. 2. 3. You should check each row, each column, and each 3*3 matrix. You should not check the total summation of each row or each column. You should initialize your input (hardcoded) in an arrayStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started