diff options
Diffstat (limited to 'CST 126/Homework 1/menu.hpp')
| -rw-r--r-- | CST 126/Homework 1/menu.hpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/CST 126/Homework 1/menu.hpp b/CST 126/Homework 1/menu.hpp index 849f21a..c384927 100644 --- a/CST 126/Homework 1/menu.hpp +++ b/CST 126/Homework 1/menu.hpp @@ -8,7 +8,7 @@ using std::cout; using std::cin; using std::endl; -inline void DisplayMenu() { +inline void DisplayMenuHomework1Menu() { cout << "***************************************************************" << endl; cout << "Welcome to the menu!\n"; cout << "1. Currency Converter\n"; @@ -19,34 +19,9 @@ inline void DisplayMenu() { cout << "Please pick a number for your choice: "; } -inline void Worker() { - int input = 0; - DisplayMenu(); - cin >> input; - while (input != 5) - { - switch (input) { - case 1: - //Call Currency Function - break; - case 2: - //Call Guessing Game Function - OutputRandomNumber(); - break; - case 3: - //Call Temperature Logger - break; - default: - cout << "\nInvalid option, please pick again..\n"; - } - DisplayMenu(); - - cin >> input; - } -} #endif
\ No newline at end of file |