C program to express number into words.
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly - The Jester This is a program to express number into words. Examples: Input : 123 Output: One Hundred Twenty Three Input 123456 Output : One Hundred Twenty Three Thousand Four Hundred Fifty Six This post is divided into following parts. Expressing two digit number in words. Expressing three digit number in words. Expressing number in words. All code at once. Note : This program was compiled on DEV C++ Expressing Two Digit Number In Words :- Here is the code: char *tens(int n){ int a; char *p,temp[20]; char t1[][10]={"Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten", "Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen...