954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Convert numbers into words using C++ 2005 compiler

3. Write a program to convert a number between 0 and 20000 (exclusive) into words. The program must use functions, and switch/case. Here is a sample run:


This program will convert a number to words.
Enter a number less than 20,000 : 18975

Number:18975
in Words: eighteen thousand nine hundred seventy-five

Press any key to continue

Sumaiah
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
 
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: