![]() |
help please for pro in c++
write a c++ program to read 3 digit no and print out it in words
eg: 455 = four hundred and fifty five 101= one hundred and one 612= six hundred and twelve use pointer for this purposes |
Re: help please for pro in c++
This should not be very difficult and what have you thought of as a logic
|
Re: help please for pro in c++
-start with reading the number in a variable
-validate the number entered -create an array like char [10][3][30] 0-9>| 0 | 1 | 2| ------------------------- and fill it with the correct values for example 5> | five | fifty |five| do this and post your code to continue. |
| All times are GMT +5.5. The time now is 14:25. |