Switch Case Algorithm Example