Question: 2. Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage.
2. Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage. Prompt the user to enter values for each of these fields. Compute and display net weekly pay, which is calculated as hours times rate, minus the percentage of the gross pay that is withholding. Save the file as NetPay.cpp Remember C++ Programming!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
