I have revised the code in my previous post - actually tweaking the teacher's suggestion to fit a particular program - and now have a new problem. I get the following error (it actually prints it...