DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Mike Guest

    paycheck program

    i need to write a program that takes the number 15 for example and print out
    "fifteen" for numbers less than 20. I'm not sure how to translate the number
    to print its own name...such as 1 to one...

  2. #2
    James Guest

    Re: paycheck program

    I am VERY new to C++ but I would say that was pretty easy - just create
    an Integer Array - say Numbers(20) and in a procedure have a Switch which
    catches the number and returns a new string of the number. I will take this
    as a small project this afternoon- thanks


    www.software-dungeon.co.uk - For FREE Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.