View Single Post
Old 05-20-2005, 05:38 AM   #4 (permalink)
iccaros
Registered User
 
Join Date: Apr 2005
Posts: 24
iccaros is on a distinguished road
yes.. then it shows how many sales people fell into a spacific range.. (to me that is a Poll.. you have 40 sales people.. 1 makes between 200 -299 a week pay, 3 make between 300 - 399 a week in pay..ect)

so hope I write this so its understandable..

first you input sales people by name , the amount of sales they do for the week.. sales people get 9% commision on sales.. and that is stored in the file, each person has their own line in the file.

next it takes the commision line and adds that to 200 (the base salasry) and then devides that by 100 if its under 1000 to get an arrary position to increment (see ++Poll[x]). if its >= 1000 we set the array position to 9 as that is to == employees making between $1000 - above.

then it desplayes them as weekly salary range and amount of emplyees who make this range.


thanks for any help
iccaros is offline   Reply With Quote