C Switch Statement Example Code