diff --git a/switch_case b/switch_case index 2f09487..b26754f 100644 --- a/switch_case +++ b/switch_case @@ -6,8 +6,11 @@ int main() switch (x) { case 1: printf("Choice is 1\n"); + break; case 2: printf("Choice is 2\n"); + break; case 3: printf("Choice is 3\n"); + break; default: printf("Choice other than 1, 2 and 3\n"); } return 0;