I think the best thing you can do at this point is put aside the code you have already completed and start over. This time, follow the advice and create a plan before you attempt to tackle this...
Type: Posts; User: kenster421
I think the best thing you can do at this point is put aside the code you have already completed and start over. This time, follow the advice and create a plan before you attempt to tackle this...
According to your code you are using a stack for the numbers: (first in, last out)
But when you parse through the operators, you start from the beginning:
The switch statement should be...