aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2019-02-13 16:09:59 -0600
committerMatthew Strapp <msattr@gmail.com>2019-02-13 16:09:59 -0600
commit5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9 (patch)
tree9635ff9cd63ea1efaa369e962322597f16c4128f /ee1301/wk2
parentFix spacing issue to make code look nicer (diff)
downloadhomework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar.gz
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar.bz2
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar.lz
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar.xz
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.tar.zst
homework-5f283e67e403e0353a9e98d9f21ebf1c40fcf5c9.zip
Remove redundant comment
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