You're right, it compiled fine, but the output wasn't what I expected, maybe it is my logic that is giving me the problem, do you have any suggestions on how I may approach this problem logically. Any advice that might help point me in the right direction on how to tackle this is greatly appreciated.
Thanks