aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2/lab2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
index 22e9b58..7e64bb8 100644
--- a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
+++ b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
@@ -37,7 +37,7 @@ int main () {
if (GrossPay>0){
Union=10;
}
- NetPay = GrossPay - SocSec - Fed - State - Health - Union; //$10 union dues are constant
+ NetPay = GrossPay - SocSec - Fed - State - Health - Union;
cout << fixed << setprecision(2) << endl << "Your gross (before withholdings) pay is $" << GrossPay << "." << endl
<< "Social Security withholding: $" << SocSec << endl
<< "Federal income tax withholding: $" << Fed << endl