When the user inputs : a + b = c
It still prints " you are missing the Operand"...but Why?
I know the delimiter does not get included; in this case the delimiter is ' '. Could use some Help, Thanks
At line 3 you want "and" operationa (&&) instead of "or" operations (||)
To see this, remember that with the || operation, if either operand is true, then the whole expression is true. So for operand != "+" || operand != "-" to be false, then it must be that operand is "+" and it also is "-". Clearly it can't be both.
Put another way, if operand is "+" then operand != "-" is true. And if operand is "-" then operand != "+" is true.