/* my Psuedo code for Employee Efficiency Basically this should take the individual profit of each employee and compare it to how much the employee is getting paid and determine if he is efficient or inefficient. If you have any questions, let me know. This really depends on how you guys wanna do it. I included a loop on this to total up all the profit of the employee, but if u want to include that in employee info itself, that would be good. These calculations should be relatively easy */ indProfit // individual profit, how much money was made on that individual truck sold // how much the truck was sold for invoice // invoice price of the truck (how much we bought it for) totProfilt // total profit on all sales by employee efficiency // if the employee is making money for the company payroll // how much employee is making loop for every truck sale by employee // to determine the total profit the employee has made { indProfit = sold - invoice; totProfit = totProfit + indProfit; } efficiency = totProfit - payroll; if(efficiency > 0) EE = 'satisfactory'; else EE = 'unsatisfactory' //is this a good word?