Pregunta de entrevista de SIRI

what is difference between switch and while