diff options
Diffstat (limited to 'ee1301/wk2')
-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; -} + } |