// // Created by quentin on 1/21/23. // #ifndef BUDGET_UTILITIES_H #define BUDGET_UTILITIES_H #include class Utilities { public: /** * @brief Asks the user to confirm an action with a yes or no question * * @param question The question to ask the user * * @return True if the user confirms the action, false otherwise */ static bool confirm(const std::string &question); static long long int extractDollars(const std::string& string); static long long int extractCents(const std::string& string); static bool hasNumber(const std::string &string); }; #endif //BUDGET_UTILITIES_H