*
Computer Programming II
Programming Assignment 2 - sudoku.cpp *

Preliminary Information

Watch the YouTube video "How to Transform an Extreme Sudoku into an Easy Puzzle."

Link to video (19 minutes)

Problem

Given the complete solution to the "easy" Sudoku problem, transform the "" solution into the "extreme" solution using the substitution method shown in the video.

Specification

Print the initial Sudoku puzzle on the screen, apply the three substitutions (9>7, 8>9, 7>8), then print the final Sudoku puzzle on the screen including suitable labels.

Sudoku assignment

Discussion

You are expected to use functional decomposition to solve this problem. Convert SudokuStart which we worked on in class into a loadTable( table ) method and a printTable( table ) method which can be called from main(). You will need to add at least one more method to perform the substitutions.

Create your program documentation as Sudoku.txt. You may use this sheet as partial documentation but should still write the algorithms for each method including loadTable().

Include a module interface table with your documentation. This may be hand-drawn.

Use the standard program header as shown in class.

Comment your program for readability and ease of maintenance. Include preconditions and postconditions for each method or function.

Include a test plan with your algorithm.

Don't start coding your program until you have completed your algorithm, module interface chart, and test plan!


Submission

Place your documentation and source files in your H:\CP2\Sudoku project folder by the due date. There is nothing to hand in.

*
This page maintained by bobh@hesston.edu