• 02-10-2009, 03:15 PM
Hey people! i joined this website today because i am up to my eyes with different projects to do for college that are all due in this week! :confused: my Java project is due tomorrow and i havnt a clue what to do because stupid me didnt attend the classes!
would any kind person be willing to help me out on this! i really need the code to do this or i am gona fail the module.

hope someone is bored enough to help out! thanks so much!

Allan :(

.....

INSTRUCTIONS TO CANDIDATES

1. Carry out the tasks 1 to 4 in order.

2. Make a copy of your program in Notepad and save to the floppy disk provided.

Write a program that will read in the mileage for a sales rep for 4 journeys and print out the total mileage.

If the total mileage is 500 or greater, print out “You qualify for an added bonus, please speak with your Manager.” otherwise print out “You do not qualify for an added bonus”.

You must also calculate the expenses to be paid to the sales rep. The following table of mileage and corresponding expense rates apply:

Mileage Expense Rate per mile (cents)
1 – 200 0.60
201 – 400 0.50
401 – 600 0.40
600 + 0.30

Write code that will print out

The Mileage for each journey, the total miles and the total expenses due.

1. Analyse the requirements for the above problem by completing the table below:

Inputs:

Outputs:

Variables Required:

2. Write the pseudocode for the entire program.

3. Create your program in Java.

4. Test your program using the following test data:

i wont include the test data cos i could do that myself!
all i really need is the java code to carry out the tasks!

• 02-10-2009, 03:26 PM
Hey people! i joined this website today because i am up to my eyes with different projects to do for college that are all due in this week! my Java project is due tomorrow and i havnt a clue what to do because stupid me didnt attend the classes!
would any kind person be willing to help me out on this! i really need the code to do this or i am gona fail the module.

hope someone is bored enough to help out! thanks so much!

Allan

.....

INSTRUCTIONS TO CANDIDATES

1. Carry out the tasks 1 to 4 in order.

2. Make a copy of your program in Notepad and save to the floppy disk provided.

Write a program that will read in the mileage for a sales rep for 4 journeys and print out the total mileage.

If the total mileage is 500 or greater, print out “You qualify for an added bonus, please speak with your Manager.” otherwise print out “You do not qualify for an added bonus”.

You must also calculate the expenses to be paid to the sales rep. The following table of mileage and corresponding expense rates apply:

Mileage Expense Rate per mile (cents)
1 – 200 0.60
201 – 400 0.50
401 – 600 0.40
600 + 0.30

Write code that will print out

The Mileage for each journey, the total miles and the total expenses due.

1. Analyse the requirements for the above problem by completing the table below:

Inputs:

Outputs:

Variables Required:

2. Write the pseudocode for the entire program.

3. Create your program in Java.

4. Test your program using the following test data:

i wont include the test data cos i could do that myself!
all i really need is the java code to carry out the tasks!

• 02-10-2009, 03:41 PM
Then you'd better get hoppin'!
• 02-10-2009, 03:56 PM
Then you'd better get hoppin'!

If you have time to join multiple forums and start a million threads asking the same question, then you had enough time to start working on this (and I know you've had enough time for partying, as well).
• 02-10-2009, 05:56 PM
emceenugget
if you'll be taking more courses for programming, the last thing you wanna do is put them off. more often than not if you do, you'll end up crunching the deadline or even going after just trying to get your incomplete project to compile. it's good to start projects asap while the topics from lecture are still fresh in your head. not to mention, you can email your ta or talk to your professor without seeming completely lazy.
• 02-10-2009, 06:31 PM
chango77745
Do you need 2 classes? Like a mileage class and a mileageTester?
• 02-11-2009, 12:49 AM
Fubarable
You'll probably find a useful link here. I wish you much much luck!
• 02-11-2009, 08:01 AM
Yeah. Unless someone is both bored an unethical, they probably won't do your exams for you for free.
• 02-11-2009, 08:07 AM
Eranga
And how long you are learning Java. This is not a difficult exercise to work out.
• 02-11-2009, 08:11 AM
priyanka.dandekar
IF you are desperate .... may be you would want to pay for this excercise...try some freelancers who can do it for u in few bucks .....

but I am with you on last minute things....I always had to run before exams...ha ha ha...njoy ..u wil find some1

____________________________________________
Priya,
Cooking is Fun | Eat Healthy Stay Fit | Sweets | Raita | Bread | Dal| Snacks
• 02-11-2009, 08:38 AM
Eranga