diff options
author | Matthew Strapp <msattr@gmail.com> | 2019-02-13 16:07:09 -0600 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2019-02-13 16:07:09 -0600 |
commit | 072198c7d89c691bec34d498d32f6d2dc4028dcd (patch) | |
tree | 69239afe82a80317cfe4b65bf397a063bf60fd24 /ee1301/wk2 | |
parent | Remove uneeded else (diff) | |
download | homework-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 'ee1301/wk2')
-rw-r--r-- | ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp | 2 |
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 |