Question: Do as much as you can in C++ language please PROBLEM STATEMENT Given a starting point in a maze, determine if there is a way
PROBLEM STATEMENT Given a starting point in a maze, determine if there is a way out There is one exit E from the maze. You can move vertically or horizontally from any open position to another open position. CODE: The maze is represented by a 10 X 10 array of 1's (wall) and O's (open path). Input is a 10 X 10 array of characters (1, O, E). One run should allow the user to process many possible starting points in the maze. Starting points are specified by row and column. Output will be a printout of the maze with the starting point and path taken marked by " If you were successful in finding the exit write the message "I am FREEI" below the maze, otherwise write "Help, I'm TRAPPED!" The maze is a class that is a 12 by 12 array. Its methods allow the user to construct a maze Get a maze from a file. Get a starting position and then process the maze. It uses a stack to accomplish this. Must use algorithm discussed and presented in class. DELIVERABLES hard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
