aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2/lab2
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2019-02-13 16:07:09 -0600
committerMatthew Strapp <msattr@gmail.com>2019-02-13 16:07:09 -0600
commit072198c7d89c691bec34d498d32f6d2dc4028dcd (patch)
tree69239afe82a80317cfe4b65bf397a063bf60fd24 /ee1301/wk2/lab2
parentRemove uneeded else (diff)
downloadhomework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar.gz
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar.bz2
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar.lz
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar.xz
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.tar.zst
homework-072198c7d89c691bec34d498d32f6d2dc4028dcd.zip
Fix spacing issue to make code look nicer
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 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