#include <iostream>
#include <cstdlib>
#include <conio.h>
#include <stdio.h>
using namespace std;
int main()
{
for(;;){
int a, b;
char c;
cout<<"podaj a"<<endl;
cin>>a;
cout<<"podaj b"<<endl;
cin>>b;
cout<<"_____________________________"<<endl;
cout<<"WYBIERZ CO MAM ZROBIC Z LICZBAMI"<<endl;
cout<<"1. dodaj"<<endl;
cout<<"2. pomnoz"<<endl;
cout<<"3. zamknij program"<<endl;
cout<<"WYBOR:"<<endl;
c=getch();getch();
switch(c)
{
case 'SOH': cout<<"WYNIK:"<<a+b<<endl;
break;
case 'STX': cout<<"WYNIK:"<<a*b<<endl;
break;
case '3': exit(0);
default:
cout<<"jebles sie"<<endl;
}
cout<<"_____________________________"<<endl;
getchar();getchar();
system ("cls");
}
}