menu-driven java program (help please)


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
    Location
    U.S.
    Posts
    5

    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
    displayed.

    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:
    http://i5.photobucket.com/albums/y19...ycocoa/pg1.jpg (page 1)

    http://i5.photobucket.com/albums/y19...ycocoa/pg2.jpg (page 2)

    http://i5.photobucket.com/albums/y19...ycocoa/pg3.jpg (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
    Location
    U.S.
    Posts
    5
    If anyone has any suggestions, feel free to reply or email me at sweet_orchestra07@yahoo.com

  3. #3
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150
    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, 09:11 PM
  2. Replies: 0
    Last Post: 12-05-2005, 08: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, 12: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
 
 
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