Question: Language is C++ Puzzle.txt File that I need the program to read: - - A 3 0 9 Z 3 - a b c d
Language is C++

Puzzle.txt File that I need the program to read:
- - A 3 0 9 Z 3 - a b c d e f g h i 0 1 2 3 4 5 6 7 8 - - C A F E 0 0 1 I - L O V E - M Y P R O F E S S O R i h 8 x - - w e r 7 j - f u 8 - e 9 T H E - - - E N D
Quiz question I need to answer:

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'll just read and display the puzzles (which might be Sudoku or Numbrix or Magic Squares or any of several number-based puzzles). The only values allowed are the digits 09 and the chars A-Z / a-z. 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. Use your program to read the file Puzzle.txt (which is assured to be a square puzzle, with dimensions that themselves are a perfect square) and sum the values found within (which can be 09,AZ/az). Enter that sum to complete this quiz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
