switch... case 0, 2, 4, 6, 8:

Difficult to say...
Why is C/C++ so primitive?
Why took it so long you got a good answer?
Why couldn't you find out yourself?

Oh, forget it! I'm sometimes in this mood....