Question: Note: In C++ ! Please answer the question in clear and legible steps. Nothing too advanced, this is a question for introductory C++ class. Thank
4. Write a definition parameters, an array of doubles that will already hold sales totals for employees, an array of doubles to hold bonus amounts, and an integer for the array size (the array size being the number of employees). The function will use a for loop loolk at each employee's sales amount and determine if they are eligible for a bonus. If they are eligible, their bonus amount will be saved in the corresponding element of the bonus array. Sales of $1000 or greater will get a bonus of 15% of the sales amount, sales of $500 to $999.99 will get a bonus of 10%. (25 points) for a function called calculateBonus that takes in three
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
