while statement

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:
okay... I wrote the program. Now what?
could you show me how to write the program dont understand it
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.
Topic archived. No new replies allowed.