0

Given number 'n' ,write a program to print number in words.(n can be any digit number)

ex:- let n=123 then result should be one hundred twenty three

28th Sep 2017, 5:47 PM
HârÎ Stârz
HârÎ Stârz - avatar
4 Answers
0
@john wells sir what is answer for this question
29th Sep 2017, 10:18 AM
HârÎ Stârz
HârÎ Stârz - avatar
0
I could, but you need to learn how to do it yourself. It isn't that hard and, if you fail to get it to compile or run, post it here. I or someone else we explain how to fix it. Hint: h=n%100; gives 1 for your example number above.
29th Sep 2017, 11:01 AM
John Wells
John Wells - avatar
0
@john wells thank you sir
29th Sep 2017, 11:05 AM
HârÎ Stârz
HârÎ Stârz - avatar
- 1
Sounds like one of my first programming assignments, we had to output a check. Easy, took about 10 minutes to do.
28th Sep 2017, 5:53 PM
John Wells
John Wells - avatar