help please for pro in c++

arunlalds's Avatar, Join Date: Mar 2010
Banned
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
This should not be very difficult and what have you thought of as a logic
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
-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.