c program

how to write digits of an integer in English

Page 1 of 1

2 Replies - 601 Views - Last Post: 04 November 2008 - 02:00 PM Rate Topic: -----

#1 Umair riaz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-November 08

c program

Post icon  Posted 04 November 2008 - 07:37 AM

plz can someone tell me the program to write the digits of an integer in English like 456
four five siix :blink:
Is This A Good Question/Topic? 0
  • +

Replies To: c program

#2 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1382
  • View blog
  • Posts: 10,962
  • Joined: 06-February 08

Re: c program

Posted 04 November 2008 - 12:21 PM

Welcome to dream in code!

There's a snippet which does what you want to do, plus a little more.
Example, 456 becomes four hundred and fifty six.

You'll just have to browse through them and find it.

Other than that:
[rules][/rules]

Moved to C/C++ :)
Was This Post Helpful? 0
  • +
  • -

#3 UG Cyber  Icon User is offline

  • D.I.C Addict

Reputation: 32
  • View blog
  • Posts: 551
  • Joined: 24-July 08

Re: c program

Posted 04 November 2008 - 02:00 PM

View Postgabehabe, on 4 Nov, 2008 - 11:21 AM, said:

Welcome to dream in code!

There's a snippet which does what you want to do, plus a little more.
Example, 456 becomes four hundred and fifty six.

You'll just have to browse through them and find it.

Other than that:
[rules][/rules]

Moved to C/C++ :)



There has actually been quite a few posts about this. Just look in the history pages so you can see how other people started their code and see what the common mistake is.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1