Logic Building Without Programs? | How To Convert Number to Word? | Part 5 | By L N Reddy B

Опубликовано: 23 Июль 2026
на канале: Wisdom Jobs & Tutorials (SSC , Banking , RRB etc)
20
2

#Jobs #Career #Creative #WisdomJobs

Logic Building Without Programs Convert Number to Word : Extract last digit of given number by performing modulo division by 10. Store the result in a variable say digit = num % 10 . Switch the value of digit found above. Since there are 10 possible values of digit i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 hence, write 10 cases
Example
Input
Input number: 1234
Output
One Two Three Four


Thanks for watching