You'd better get a move on then. I've repeatedly given you all the information I'm going to give you. I'm not going to write this for you or give you any answers, only the information you need to find them for yourself. If you cannot solve the problem after all the help I've given you then just hand in what you've got - after all, in your opinion the program works, doesn't it? So you should get full marks, shouldn't you? Go over this whole thread from the top and actually READ and actually LISTEN to what I've said, and USE it. Then you'll solve the problem.
should i use a debugger in order to solve this program or not?
Should I use a keyboard to type my reply?