From 072198c7d89c691bec34d498d32f6d2dc4028dcd Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Wed, 13 Feb 2019 16:07:09 -0600 Subject: Fix spacing issue to make code look nicer --- ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp index f969268..22e9b58 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; //$10 union dues are constant cout << fixed << setprecision(2) << endl << "Your gross (before withholdings) pay is $" << GrossPay << "." << endl << "Social Security withholding: $" << SocSec << endl << "Federal income tax withholding: $" << Fed << endl -- cgit v1.2.3