During the class I was explaining the students why you need to keep on solving the programs, so that you can improve your speed. Speed and accuracy is what managers expect from their developers in a professional setup.
I asked them can we convert numbers to words i.e. spell the number. Cheque printing is the one area where we need this program. Even bill printing employs this logic. Here is what we come up with. This program uses recursion and converts number to text Indian way.