aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-14 21:11:31 +0000
committerRossTheRoss <msattr@gmail.com>2019-02-14 21:11:31 +0000
commitf5a48f2351bea2674e1da7652a7799726f49f9e5 (patch)
tree3bfe66ef9c6abc4a931d2c12aaf5af2637aec978 /ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
parentMerge branch 'master' of github.com:RosstheRoss/TestingFun (diff)
downloadhomework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar.gz
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar.bz2
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar.lz
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar.xz
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.tar.zst
homework-f5a48f2351bea2674e1da7652a7799726f49f9e5.zip
Simplify things
Diffstat (limited to 'ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp')
-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 2476b31..f0689d4 100644
--- a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
+++ b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
@@ -14,7 +14,7 @@ using namespace std;
int main () {
int Dependents, Hours;
- int OT = 0; int Health = 0; int Union =0; //Set values to zero to prevent problems
+ int OT = 0, Health = 0, Union =0; //Set values to zero to prevent problems
double SocSec, State, Fed, GrossPay, NetPay;
cout << "How many hours did you work this week?: ";
cin >> Hours;