int main()
{
int a,b;
cout<<"enter the numbers.\n";
cin>>a>>b;
char choice;
cout<<"enter A for addition,B for substration,C for multiplication or D for division.\n";
cin>>choice;
switch (choice)
{
case 'A': cout<<a+b;
break;
case 'B': cout<<a-b;
break;
case 'C': cout<<a*b;
break;
case 'D': cout<<a/b;
break;
default: cout<<"wrong! Please enter A,B,C or D.\n";