hi.. our frst semester was now ending.. n our instructor leave dis problem for us to had.. she told us to create a program that supplies a number and outputs its equivalent in words.. the maximum input number is 9000...

sumbody knew dis?? plzz help... thank u n advance...

get the digits and their position and print accordingly.

e.g. say 1305.

3 in location 100 hence print "three hundred".

proceed accordingly for the rest.

DONT EXPECT READY-MADE CODE HERE

I have a 'C' solution,
I'll upload later...

cough* look in code snippet section *cough,cough*

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.