Rob Walter

Greenhorn
+ Follow
since Mar 20, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rob Walter

yes it is homework and my teacher has asked us to get help from others. I'm not wanting someone to right code for me I just would like an example or help. My first question is would I have to create four different variables for week1, week2, week3, & week4, in my method so I can compute them?
19 years ago
This post is a repost, I deleated the other one because it didnt make much sense. What I need help on is a third Method, ive already created, "computePayroll". this method wont take any parameters, I need to create a loop that will loop for times with each iteration representing a paricular week. Before the loop starts I need to have the method prompt the user for the seniorityBonus. Then for each iteration of the loop, the method needs to prompt the user for the weekly sales. Inside the loop I need to make calls to "computeSeniorityBonus" and "computeCommission" to generate the final salery for the week. Then I have to have the method total up the sales persons four weeks to have a monthly salary. I then need to return this value as a duoble to the main. Now I had a hard time getting my other two methods working, but thanks to you all here I was able to get it. I just dont know where to start with this method.
20 years ago