How to print a number in word in c.ending digit with zero.
123 one two three 120 one two zero
You can create an String array for number from zero to nine then make a characters array from your number for ex(in java by using toCharArray() function), then for every element in this char array you can print revelent string in the strings array essay pessy
In c...convert the number to a c-string/character array.: http://www.cplusplus.com/reference/cstdio/sprintf/ Use a switch inside a for loop. (I initialy used "itoa" for the convertion but "This function is not defined in ANSI-C")...see link.
int n = 123; printf("%d", n/10*10);