I have developed this program on turbo c++ 3.0 version. This version is available on net at
"http://www.dei.isep.ipp.pt/~ana/Prog_II/turboc.htm this link.Try running it.

Also, I am trying to find out where it goes in infinite loop.Thank you for your help.

If you successfully run it, I am eager to hear any comments.

Where can I learn other techniques or algorithms of programming? What is this technique of mine called?