Arduino Calculator not working

Place some Serial.println()s at strategic locations in the sketch to see what variables are doing.

.