A program that, based on the entered starting and ending coordinates of the knight, determines the minimum number of steps needed to get from the starting field to the ending field and prints each field over which the knight crossed (the path).
To run the program, follow these commands:
- Open the terminal in the where src files are.
- Run command: g++ main.cpp minMoves.cpp minMoves.h -o main
- Run: main.exe
INPUT (valid):
OUTPUT:
INPUT (invalid):