paycheck program


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: paycheck program

  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

    ?Hi,
    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

    --

    James
    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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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