You could write something like this by using enums and switch statement:
enum options { Operation1, Operation2, Operation3 };
cout << "Operations:\n\n";
cout << "Operation1 - " << Operation1 << "\n";
cout << "Operation2 - " << Operation2 << "\n";
cout << "Operation3 - " << Operation3 << "\n";
cout << "Your choice: ";
int choice;
cin >> choice;
switch (choice)
{
case Operation1:
cout << "You picked Operation1.\n";
break;
case Operation2:
cout << "You picked Operation2.\n";
break;
case Operation3:
cout << "You picked Operation3.\n";
break;
default:
cout << "You made an illegal choice.\n";
break;
}
Once that is done, you could put it into a while/for loop wherever you need to do that, and quit whenever you need to do that...