Course Solutions Uncategorized (Solved) : Function Called Menu Keep Repeating Matter Input Put Fix Include Include Include Include U Q27305791 . . . .

(Solved) : Function Called Menu Keep Repeating Matter Input Put Fix Include Include Include Include U Q27305791 . . . .

 

Why does my function called “menu” keep repeating no matter whatinput is put in? How do I fix this?

#include <iostream>

#include <cmath>

#include <string>

#include <iomanip>

using namespace std;

string Menu(string userSelect) {

   cout << “Menu: Please select one of thefollowing options:” << endl << endl;

   cout << “1 – Drop a single chip into oneslot” << endl;

   cout << “2 – Drop multiple chips into oneslot” << endl;

   cout << “3 – Show the options menu” <<endl;

   cout << “4 – Quit the program” << endl<< endl;

   cout << “Enter your selection now: “;

   cin >> userSelect;

   cout << endl << endl;

   return userSelect;

}

int

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Individual Diversity Analysis Paper- Minimum 1 page required (Please do not attempt to solve if you can not fulfill all the requir(Answered) : Individual Diversity Analysis Paper- Minimum 1 page required (Please do not attempt to solve if you can not fulfill all the requir

Individual Diversity Analysis Paper- Minimum 1 page required (Please do not attempt to solve if you can not fulfill all the requirements) Company: Wal-Mart (discrimination: multiple non-dominant groups) Task: Your task in