Commit 352a057
committed
feat: Add menu-based language selection with switch-case and exit option
🧠 Logic:
- Displays a menu in a loop using `do-while`
- Takes user input to choose a language
- Uses `switch` to print corresponding message
- Exits loop when user selects option 4.
Signed-off-by: Somesh diwan <[email protected]>1 parent a6959c2 commit 352a057
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
7 | 5 | | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
15 | 12 | | |
16 | 13 | | |
17 | | - | |
18 | 14 | | |
19 | 15 | | |
20 | | - | |
21 | 16 | | |
22 | 17 | | |
23 | | - | |
24 | 18 | | |
25 | 19 | | |
26 | | - | |
27 | 20 | | |
28 | 21 | | |
29 | 22 | | |
| |||
0 commit comments