Quote:
Originally Posted by afroboy0731
but if i did it like that then wouldnt i get 10 instead of the correct answer, 8
|
I see what you are saying, you could possibly, add some code to check another step ahead, and see if that 'branch' is a dead end, if it is then dont add that as a step.