Write a C++ program that uses a while statement to determine the gross pay for each of several employees. The company pays “straight time” for the first 40 hours worked by each employee and pays “time-and-a-half” for all hours worked in excess of 40 hours. A 15.0% income tax is deducted from all persons over 18 years old. Write a program that will calculate and display the weekly wages. If no taxes are deducted, “NO TAXES DEDUCTED” is to be displayed. The program should run as follows:
have you tried it yourself? if so, then put your code in here, then people can help you to understand what to do. If you haven't tried to write it then try it, and then if you are having issues then come back and ask for help... just saying.