diff options
| author | WesleyR <[email protected]> | 2024-04-21 21:38:58 -0700 |
|---|---|---|
| committer | WesleyR <[email protected]> | 2024-04-21 21:38:58 -0700 |
| commit | 33c72afebeafd9f672f19502f99ffb91caf5f695 (patch) | |
| tree | 1c0a25ee87ddc504a4020df4458206110eb7ad9e /CST 126/Homework 1/menu.hpp | |
| parent | updates (diff) | |
| download | archived-homework-1-wesleyr23-33c72afebeafd9f672f19502f99ffb91caf5f695.tar.xz archived-homework-1-wesleyr23-33c72afebeafd9f672f19502f99ffb91caf5f695.zip | |
Submission
Diffstat (limited to 'CST 126/Homework 1/menu.hpp')
| -rw-r--r-- | CST 126/Homework 1/menu.hpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/CST 126/Homework 1/menu.hpp b/CST 126/Homework 1/menu.hpp index 51f8f0e..c97e686 100644 --- a/CST 126/Homework 1/menu.hpp +++ b/CST 126/Homework 1/menu.hpp @@ -1,9 +1,12 @@ #ifndef MENU_H #define MENU_H -#include <iostream>; +#include <iostream> + #include "clear.hpp" #include "currency.hpp" +#include "guessinggame.hpp" +#include "temperature.hpp" using std::cout; using std::cin; @@ -13,13 +16,12 @@ inline void DisplayMenu() { ClearScreen(); - cout << "*******************************************************************" << endl; + cout << "*******************************************************************\n"; cout << "Welcome to the menu!\n"; cout << "1. Currency Converter\n"; cout << "2. Guessing Game\n"; cout << "3. Temperature Logger\n"; - cout << "5. Exit\n"; - cout << endl; + cout << "5. Exit\n\n"; cout << "Please pick a number for your choice: "; } @@ -39,11 +41,11 @@ inline void Worker() { break; case 2: - //guessing game + GuessingGame(); break; case 3: - //call temp logger + StoreTemp(); break; default: |