Ok, I know I had another post of this, but I don't feel like finding it..What I was wondering, was could someone look at this simple pseudo code and tell me if you think it will work...

Code:
  user enters first number
  //do nothing
  
  user selects an operator
  //get string of first number and subtract the operator from it

  user enters second number
  // do nothing 

  useer selects second operator
  //have a variable that kept track of the previos operator
  //perform the previous operation using the previous operator
  //change the previous operator to the current operator

  user enters another number
  // do nothing

  user selects calculate
  //perform the last operation
The only problem I can see with this, is that there would be a lot of methods with if else if , statements, and there should be some way that I could lessen those statements.