when i ask theuser if they with to exit and they select "x" i am then asking another question but im not sure where to go from there. if they select "y" i want them to exit the program however if they select "n" i want them to go back to the menu were they select their operation again and im not sure how to do this??Code:#include <iostream> using namespace std; int main() { while (true) { char op; float num1, num2; char ex; cout << "Select + for addition" << endl; // Give the user the option for addition cout << "Select - for subtraction" << endl; // Give the user the option for subtraction cout << "Select * for multiplication" << endl; // Give the user the option for multiplication cout << "Select / for division" << endl; // Give the user the option for division cout << "Select x to exit" << endl; // Give the user the option to exit the program cin >> op; // User selects from the given operations if (op == 'x') { cout << "Are you sure you would like to exit?" << endl; cout << "Enter y to exit" << endl; cout << "Enter n to stay" << endl; cin >> ex; } cout << "Enter number one "; // User enters first number which they want to calculate cin >> num1; cout << "Enter number two "; // User enters second number which they want to calculate cin >> num2; if (op == '+') { cout << "Sum of operation = " << num1 + num2 << endl; } else if (op == '-') { cout << "Sum of operation = " << num1 - num2 << endl; } else if (op == '*') { cout << "Sum of operation = " << num1 * num2 << endl; } else if (op == '/') { cout << "Sum of operation = " << num1 / num2 << endl; } } system("pause"); return 0; }