aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2019-02-13 15:43:52 -0600
committerMatthew Strapp <msattr@gmail.com>2019-02-13 15:43:52 -0600
commita7f0265cb6275567061e82505ef9a93142c1fb29 (patch)
tree82fdc415bfa0e2c1e38341fc384bf343e9312bb6 /ee1301
parentFix sneaky (diff)
downloadhomework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar.gz
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar.bz2
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar.lz
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar.xz
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.tar.zst
homework-a7f0265cb6275567061e82505ef9a93142c1fb29.zip
Initialize your integer friends
Diffstat (limited to '')
-rw-r--r--ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
index 048e1b1..356c824 100644
--- a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
+++ b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp
@@ -13,8 +13,8 @@ Short Program Description: Pay Stub Calculator
using namespace std;
int main () {
- int Dependents, Hours, Union;
- int OT = 0; int Health = 0; //Set values to zero to prevent problems
+ int Dependents, Hours;
+ int OT = 0; int Health = 0; int 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;