I need to ask the user in this way "Do you want to do it again?" and the user will choose Y or N whether they want to compute another set of numbers and go through the program all over again.
#include <iostream>
using namespace std;
int main()
{
    float x, y;
    float Sum, Difference, Product, Quotient;
    char choice;
    cout << "Enter x and y: ";
    cin >> x >> y;
    cout << "MENU" << endl;
    cout << "A: Addition " << endl;
    cout << "B: Subtraction" << endl;
    cout << "C: Multiplication " << endl;
    cout << "D: Division " << endl;
    cout << "E: Exit " << endl;
    cout << "Enter your choice :";
    cin >> choice;
        switch (choice)
        {
        case 'A':
            Sum = x+y;
            cout << x << "+" << y << "=" << Sum <<endl;
            break;
        case 'B':
            Difference = x-y;
            cout << x << "-" << y << "=" << Difference <<endl;
            break;
        case 'C':
            Product = x*y;
            cout << x << "*" << y << "=" << Product <<endl;
            break;
        case 'D':
            Quotient = x/y;
            cout << x << "/" << y << "=" <<  Quotient <<endl;
            break;
        case 'E':
            break;
        default:
            cout << "Invalid input" << endl;
        }
    return 0;
}
 
    