Possible Duplicate:
Switch without break
I am making a small calculator app, and when the calculate button is clicked, a switch statement runs, but the number produced is not what It should be, I have tested my inputs and they do work here is the switch statement:
switch (currentOp)
{
case "+" :
answer = Float.toString(inp1 + inp2);
case "-" :
answer = Float.toString(inp1 - inp2);
case "X" :
answer = Float.toString(inp1 * inp2);
case "/" :
answer = Float.toString(inp1 / inp2);
}