Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

menu-driven java program (help please)

Hi everyone! :WAVE:
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/y199/emilycocoa/pg1.jpg (page 1)

http://i5.photobucket.com/albums/y199/emilycocoa/pg2.jpg (page 2)

http://i5.photobucket.com/albums/y199/emilycocoa/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!
[1377 byte] By [emasha] at [2007-11-11 8:35:17]
# 1 Re: menu-driven java program (help please)
If anyone has any suggestions, feel free to reply or email me at sweet_orchestra07@yahoo.com :)
emasha at 2007-11-11 22:34:55 >
# 2 Re: menu-driven java program (help please)
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.
major at 2007-11-11 22:35:55 >