Lab Assignment 5
-
Modify P235 code, which you have already written,
to take as input number ``n'' and print how may
p235-numbers are there less than
or equal to ``n''.
-
Write a character function ``GetYesorNo'' which
prompts the user to type a single character (y for yes, n for no)
and loops until he does this.
-
Modify Knight's tour to use some
heuristic for generating the next move.
The heuristic may involve opting for that move which
is nearest to the corner.
All of you are encouraged to come up with interesting
heuristics.