Program using switch case and break