You need breaks when you use a switch.
Type: Posts; User: tabstop
You need breaks when you use a switch.
You're nearly there -- you need to start sum off at 0.
You can't have two variables with the same name -- you have an order total, which you call "total", and you have a total-for-the-whole-program, which you call "total". Needless to say, the compiler...