#include<iostream>
using namespace std;
int main()
{
    int a, b;
    cout << "Enter first number : " << endl; cin >> a;
    cout << "Enter second number : " << endl; cin >> b;
    cout << "Enter symbol of operation to perform : " << endl;
    cin.ignore();
    cout << flush;
    char c;
    cin >> c;               // We take character input like +, -, / or *

    switch(c)               // switch statement take c as parameter.
    {   
        case '+':
            cout << "Sum of " << a << " + " << b << " = " << a+b << endl;
            break;
        case '-':
            cout << "difference of " << a << " - " << b << " = " << a-b << endl;
            break;
        case '*':
            cout << "Mulitplication of " << a << " * " << b << " = " << a*b << endl;
            break;
        case '/':
            cout << "division of " << a << " / " << b << " = " << a/b << endl;
            break;
    }
}