Errr I left a break statement out.
The above code won't work; a break statement should have been inserted before the default statement.
Errr I left a break statement out.
The above code won't work; a break statement should have been inserted before the default statement.