Top DevX Stories
Location-Aware App Review
The Future of Web Content -- HTML5, Flash, and Mobile Apps
Moonlight 3.0 Preview Offered For Rich Internet Apps on Linux and Unix
Why a Moderator is Key in the Engineering Review Process, Part II
Windows 7 Features Your Clients Will Need on Day One
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > Java

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 04-29-2006, 02:47 PM
emasha emasha is offline
Registered User
 
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 11:44 PM.
Reply With Quote
  #2  
Old 04-29-2006, 11:45 PM
emasha emasha is offline
Registered User
 
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
Reply With Quote
  #3  
Old 04-30-2006, 10:08 AM
major major is offline
Registered User
 
Join Date: Mar 2005
Location: UK, London
Posts: 147
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.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with java program jareivy05 Java 9 12-07-2005 10:11 PM
Implementing a program which can be accesed by non java clients dina_raj Java 0 12-05-2005 09:17 AM
.NET vs. Enterprise Java: Who's Got Better Security? Glen Kunene Talk to the Editors 17 03-23-2002 01:43 AM
Environmental Variables in Java Program SNP Java 3 08-30-2000 10:15 AM
Environmental Variables in Java Program SNP Java 1 08-26-2000 02:35 AM


All times are GMT -4. The time now is 12:06 PM.


Sponsored Links



Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.