Report question

Question: how to set a switch statement in while loop in java