DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: menu-driven java program (help please)

  1. #1
    Join Date
    Apr 2006

    Exclamation menu-driven java program (help please)

    Hi everyone!
    I'm working on a menu-driven program in java for a course I'm taking.
    What would you suggest the best way to begin and end the program (methods, etc) It's a tough program I think.
    Any advice would be much appreciated!

    The requirements are:

    5 company names each with 5 employees
    totaling 25 employees.
    This java program has to be menu-driven.
    Arrays have to be used and the amount of pay needs to be

    For example if someone quits they will get $50.

    Also if someone is demoted, for example:
    Barry Long Rank 3 $3000
    Tonya Williams Rank 2 $2000
    Rebecca Clark Rank 1 $1000
    (If Tonya gets demoted she and Rebecca will switch in rank
    also in pay)

    To calculate the pay multiply the rank by the dollar amount.

    I hope this is understandable.
    Here's the links to the assignment: (page 1) (page 2) (page 3)

    They can best be viewed if they are printed out. I'm currently working on the program. I'll have what I've done so far posted tomorrow sometime. Thanks to whoever that reads this and helps!
    Last edited by emasha; 04-29-2006 at 10:44 PM.

  2. #2
    Join Date
    Apr 2006
    If anyone has any suggestions, feel free to reply or email me at

  3. #3
    Join Date
    Mar 2005
    UK, London
    Submit what you have today and I will have a llook at it. How do you plan to read the text from each file? Will you be storeing each line from the text file into an array variable? Show us what you have so far.

Similar Threads

  1. Problem with java program
    By jareivy05 in forum Java
    Replies: 9
    Last Post: 12-07-2005, 10:11 PM
  2. Replies: 0
    Last Post: 12-05-2005, 09:17 AM
  3. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 01:43 AM
  4. Replies: 3
    Last Post: 08-30-2000, 09:15 AM
  5. Replies: 1
    Last Post: 08-26-2000, 01:35 AM

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