Logo 
Search:

C++ Programming Forum

Ask Question   UnAnswered
Home » Forum » C++ Programming       RSS Feeds

C++ Write a program which will take at max: a six digit number and output each of its digit....

  Asked By: Soban    Date: Apr 08    Category: C++ Programming    Views: 5868
  

Write a program which will take at max: a six digit number and output each
of its digit in words, (Bonus) if the number is less then 6 digit it should not out print
initial zeros. If the number is greater then 6 digit then it should output wrong input.

Sample Input: 651432
Output: Six Five One Four Three two
(Bonus)Sample Input: 1432
Sample Output: One Four Three two.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: