#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