>>but will then immediately jump over to the following operation afterwards

Yes, you have to terminate each 'case:' branch with a 'break' statement, i.e.

Yes, you have to terminate each 'case:' branch with a 'break' statement, i.e.

```
while (true)
{
switch (choice)
{
case 1:
{
//Addition
cout << "You are adding two numbers, enter the first number. \n Number 1: ";
cin >> number1;
cout << "Enter the second number. \n Number 2: ";
cin >> number2;
cout << "The answer is: " << addition(number1, number2) << endl;
system("PAUSE");
}
break; // <-----
case 2:
{
//Subtraction
cout << "You are subtracting two numbers, enter the first number. \n Number 1: ";
cin >> number1;
cout << "Enter the second number. \n Number 2: ";
cin >> number2;
cout << "The answer is: " << subtraction(number1, number2) << endl;
system("PAUSE");
}
break; // <-----
case 3:
{
//Multiplication
cout << "You are multiplying two numbers, enter the first number. \n Number 1: ";
cin >> number1;
cout << "Enter the second number. \n Number 2: ";
cin >> number2;
cout << "The answer is: " << multiplication(number1, number2) << endl;
system("PAUSE");
}
break; // <-----
case 4:
{
//Division
cout << "You are dividing two numbers, enter the first number. \n Number 1: ";
cin >> number1;
cout << "Enter the second number. \n Number 2: ";
cin >> number2;
cout << "The answer is: " << division(number1, number2) << endl;
system("PAUSE");
}
break; // <-----
case 5:
{
cout << "Goodbye!";
system("PAUSE");
return 0;
}
break; // <-----
default:
cout << "Please enter a value between 1 and 5";
}
}
```