This does not accept any answer:
cout << "Restart yes or no: ";
cin >> retry;
while (retry != "yes" or retry != "no"){
cout << "Restart yes or no: ";
cin >> retry;
system("cls");
}
If anybody can provide an alternative/fix it would be greatly appreciated.