posted 21 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.