Hi there I'm doing a course in programming and im having issues with my work.
The issue im having is that when i type in 2 into the console it seems to add the 1st number with the 2nd number then minus 1 from it. (3-1). When i want it to say 2
example
type 1= 1+2
type 2= 1-2
type 3= 1*2
type 4= 1/2
PLEASE HELP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
int Number1=1;
int Number2=2;
int enter;
cout << "Please enter a number between 1 and 4" << endl;
cin>>enter;
if (1==1){
cout << Number1+Number2;
}elseif(2==2){
cout << Number1-Number2;
}