Hello, thank you for looking at my question. I have some homework that I'm completly boggled with and I was wondering if you could help. Here is what I have to do:
You are hired by CompUSA Inc. to create a new point of sale(POS)
system. The system will request the employee number,
the sales amount, and the sales tax rate.
The POS system must:
(1) calculate the total sales,
(2) calculate the commission for the employee,
(3) display the total sales information,
(4) display the commission information.
Use the following graduated commission scale:
Above $125,000 30%
Items (1), (2), (3), and (4) must be done inside functions.
Remember, functions have only one responsibility and you must provide
the function with any information it needs to complete the task.
Functions (1) and (2) must return a float type.
Functions (3) and (4) can have void as the return type.
Also, I want you to use pointers.
Thank you so much for your time...If you can't help me, please let me know. Thank you.
Well, I generally don't do other people's homework for them. So without a more specific question, I would suggest you make sure you can do all of the required operations on paper (with a calculator if need be). That way you'll be in a better position to write down the exact steps required to do each task.