The error i get is:
'user:input' undeclared[first use this function]
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
// declaring variables \\
string user_input;
// end of declaring variables \\
cout
<<"Hello and welcome to Mr. Nightwish's lab of crazy!"
<<endl
<<endl
<<"Please choose one of the following options:"
<<endl
<<"1. Addition"
<<endl
<<"2. Subtraction"
<<endl
<<"3. Exit"
<<endl;
cin >> user_input;
while(user_input!=1 && user_input!=2 && user_input!=3)
{
cout <<"Please enter an integer between 1 and 3";
cin >> user_input;
}
cin.get();
return 0;
}