using namespace std; // so we dont have to use std anymore
int main () // start of function
{
char another;
char op; // operator
double num1; // first number
double num2; // second number
Start:
system ("cls") ;
cout<< "welocome to my program\n"; // welcome screen
cout << "enter your first number\n"; // user enters first number
cin >> num1; // input first number
cout << "thank you\n"; // confirm users first number
cout << "now enter an operator ( +, -, *, or / ) \n"; // user enters operator
cin >> op; // inout operator
cout << "thank you\n"; // confirm users operator
// begin switch
switch ( op )
{ case '+' : cout<< "your answer is " << num1 + num2 << endl;
break; // addition