Question: HELP ME IN C++ CODE!! DON'T COPY ANYONE PLEASE!! WILL APPRECIATE IT AND THUMP UP IF YOUR SOLUTION HELP ME! HOMEWORK: Puzzle Reader This will

HELP ME IN C++ CODE!! DON'T COPY ANYONE PLEASE!! WILL APPRECIATE IT AND THUMP UP IF YOUR SOLUTION HELP ME!HELP ME IN C++ CODE!! DON'T COPY ANYONE PLEASE!! WILL APPRECIATE IT

HOMEWORK: Puzzle Reader This will lead nicely into a Sudoku-solving problem, which we will write after we cover recursion, in the next unit. For now, we'l1 just read and display the puzzles (which might be Sudoku or Numbrix or Magic Squares or any of several number-based puzzles). S1S4:S9:S16:S25S36:11,2,3,and4190F0P0Z11puzzle44puzzle99puzzle(thisisthe"standard"SudokuorNumbrixdimension)1616puzzle;abase-16or"hex"puzzle2525puzzle;abase-25puzzle3636puzzle;abase-36puzzle The only values allowed are the digits 09 and the chars AZ/az. For the purposes of the homework, any value can be used in any puzzle. We consider only "square" puzzles. Puzzles that have a number of entries that is a perfect square are processed and displayed; puzzles that do not have a number of entries that is a perfect square are rejected. Your program is to read the puzzle (each cell is a single char), determine the number of entries, and if that number is a perfect square then display the puzzle as char, and display the puzzle as int. For example, the puzzle to the left would also be displayed as the puzzle to the right. This conversion of char to int will be of great use to us in the next unit, when we explore how recursion can be used to solve number puzzles such as Sudoku and Numbrix and Magic Square

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!