DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: user input

  1. #1
    Join Date
    Sep 2004
    Posts
    4

    user input

    I need help writing a program that will multiply two user inputs together. I have to write a program that accepts user payrate and userhours, and then multiplies them to give gross pay. I'm begging for help on this. It's driving me crazy.

  2. #2
    Join Date
    Sep 2004
    Posts
    18
    that is reasonably easy depending on how good it has to be...

    you could easily just make a console one where you loop it and have something like -1 to quit...

    and then you just have them input payrate, press enter and then enter hours, press enter and then it will come up with a result and then repeat the process again...

    or you could make a gui with two input text fields and a button.

    once the user inputs the payrate and hours, they then press enter or click the button and a label will display the result...

  3. #3
    Join Date
    Mar 2003
    Posts
    834
    See posting in other forum category.
    ArchAngel.
    O:-)

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links