Newbie Needs Help on Calculator Program
I was working on a calculator type program in which you type the operation you want, along with two numbers to perform the operation on. The problem is that I put this line:
Code:
else
{
cout<<"Please enter 'add', 'subtract', 'multiply', or 'divide' as operation type";
goto cout<<"Enter operation type:\t";
}
at the end to make sure that the user types in a correct operation. It is giving me 2 syntax errors in the goto line:
syntax error : '('
syntax error : missing ';' before ')'
If anyone can help me, I would be very appreciative. I don't think it matters but I'm using MSVC++ 6.0