Given number into words. For example, if “1234” is given as input, output should be “one thousand two hundred and thirty four”
The first line of input contains an integer T denoting the number of test cases.
The first line of each test case is N.
Print the number into words (in small letter).
1 ≤ T ≤ 100
1 ≤ N ≤ 9999
one hundred and forty two
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.