Question: In C( ONLY C) write a program with file I/O, pointers, dynamic memory allocation, and string manipulation. a game of sudoku. fill in missing slots
In C( ONLY C) write a program with file I/O, pointers, dynamic memory allocation, and string manipulation.
a game of sudoku. fill in missing slots in a nine by nine array. every number in the set one through nine must be found in every row, every column, and every three by three in the array. program will be read from a text file. numbers that are displayed have % to the left of the number
example of how everything is supposed to be on command line and how to input
Enter game filename to load: puzzle.txt Loading game file puzzle.txt there are 30 missing slots
Enter value in row column and value to solve a square, enter 0 to exit: 1,3,4 there are 30 missing slots
sample input if it has % it will be displayed on board and the numbers that don't will require display * since they need to be filled in ( just an example of it)
%9 %7 8 4 %6 3 5 2 1
%4 6 1 %2 %5 %9 7 8 3
2 %5 %3 7 8 1 9 %4 6
%3 9 5 6 %4 2 8 1 %7
%8 1 4 %3 9 %7 6 5 %2
%6 2 7 5 %1 8 3 9 %4
5 %4 2 9 7 6 %1 %3 8
1 3 6 %8 %2 %5 4 7 %9
7 8 9 1 %3 4 2 %6 %5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
