I have tried everything I can think of.
I can not figure out how to check to see if an item has been selected.
do I need to create a return value function to have the program keep track of the items selected?
Code:while ((answer == 'y' || answer == 'Y') && (ICounter <= noOfItems)) { ICounter++; cout << "Enter item number from Menu: "; cin >> menuList[i].choices; if ( menuList[i].choices == menuList[i].choices) { cout << "Do you want to make another selection? Y/y (Yes) or any other key for No: "; cin >> answer; } else { cout << "*** This Item has been selected ***" << endl; cout << "Do you want to make another selection? Y/y (Yes) or any other key for No: "; cin >> answer; } } }