aboutsummaryrefslogtreecommitdiff
path: root/CST 126/Homework 1/menu.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST 126/Homework 1/menu.hpp')
-rw-r--r--CST 126/Homework 1/menu.hpp14
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: