/I am writting a menu program that lets the user select from a list of options, and if the input is not one
/of the options, reprint the list.
/Its not accepting my loop
Code:#include <iostream> using namespace std; int main () { int a, b, c, x1, x2 ; cout << "Please select from the following a, b, c \n"; cin >> x1; while ( ! x2 == a || ! x2 == b || ! x2 == c ); { cout << "Please select again \n" ; cin >> x2; } cin.get (); }