An employee is paid at a rate of $16.78 per hour for regular hours worked in a week. Any hours over that are paid at the overtime rate of one and one half times that. From the worker’s gross pay 6% is withheld for social security tax, 14% is withheld for federal income tax, 5% is withheld for state income tax, and $10 per week is withheld for union dues. Write a C++ program manipulate the above scenario
1
Expert's answer
2012-06-14T11:05:10-0400
//& Defines the entry point for the console application. //
//#include "stdafx.h" #include "iostream"
using namespace std;
const double SALARY = 16.78; const int WORK_DAY_ON_WEEK = 5;
Comments
Leave a comment