#include <iostream>
#include <string>
using namespace std;
int main(){
cout<<"First number: ";
int first_number;
cin>>first_number;
cout<<"Sencond number: ";
int second_number;
cin>>second_number;
string op;
cout<<"1.Suma\n2.Produs"<<endl;
cout<<"Enter 1 or 2: ";
cin>>op;
if (op == "1"){
cout<<"Result, "<<first_number + second_number<<endl;
}
else if (op == "2"){
cout<<"Reuslt, "<<first_number * second_number<<endl;
}
else {
cout<<"WRONG!"<<endl;
return 0;
}
}
PS: Sper ca am inteles intrebarea corect :D
Make it easy!