diff options
author | Matthew Strapp <msattr@gmail.com> | 2019-02-13 16:04:46 -0600 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2019-02-13 16:04:46 -0600 |
commit | 92db7fe3a7704004ea48dbe9c93bb0eb66c48c62 (patch) | |
tree | e4a7b183e5df3e2c5f49c108b71d5585f09dc16c /ee1301/wk2/lab2 | |
parent | Fix problem with negative time (diff) | |
download | homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar.gz homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar.bz2 homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar.lz homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar.xz homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.tar.zst homework-92db7fe3a7704004ea48dbe9c93bb0eb66c48c62.zip |
Remove uneeded else
Diffstat (limited to 'ee1301/wk2/lab2')
-rw-r--r-- | ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp index b261664..f969268 100644 --- a/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp +++ b/ee1301/wk2/lab2/strap012_lab2_pay_stub.cpp @@ -22,7 +22,6 @@ int main () { cout << "Invalid option!" << endl; return 2; } - else{ cout << "How many dependents do you have?: "; cin >> Dependents; if (Hours > 40) { //Every hour over 40 constitutes as overtime @@ -47,5 +46,5 @@ int main () { << "Medical cost: $" << Health << endl << "Your net (after witholdings) pay is $" << NetPay << "." << endl; -} + } |