PLEASE HELP! i need some code by tomorrow for my exam :-(
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.
3. Return your paper and disk to your tutor.
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!
PLEASE help me :o
PLEASE HELP! i need some code by tomorrow for my exam :-(
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.
3. Return your paper and disk to your tutor.
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!
PLEASE help me
Add to madouva's Reputation