#ifndef MENU_HELPER_HPP #define MENU_HELPER_HPP #include "TempLogHelper.hpp" void UserMenu(); void MenuOptions(); void CurrencyPrinter(); void UserMenu() { int InputChoice = 0; do { MenuOptions(); InputChoice = InputSelectionInt("What would you like to do today? :"); switch (InputChoice) { case 1: CurrencyPrinter(); break; case 2: GuessingGame(); break; case 3: WeeklyTemp("What was the highest temperature reached?", "What was the lowest temperature?"); break; case 4: Prompts("Have a wonderful day!!!"); break; default: Prompts("Invalid input, try again!"); } } while (InputChoice != 4); } void MenuOptions() { Prompts("!Welcome to the Main Menu!\n\n1.Currency Conversion\n2.Guessing Game\n3.Weekly Temperature Log\n4.Exit\n"); } void CurrencyPrinter() { double MyMoney = 0; std::cout << "Your coverted currency->" << CurrencyConversion(MyMoney) << std::endl; } #endif