9th Nov 2022, 1:42 PM
Akari
Akari - avatar
3 Answers
+ 3
Remove conio.h header . It's non-standard and deprecated header file, don't work here. Use getchar() , instead of getche() And Don't declare variables in switch cases. Declare before the switch block. For, better readabilty, make inner switch statements into function code. That makes more readable and remove confusion.
9th Nov 2022, 2:16 PM
Jayakrishna 🇼🇳
9th Nov 2022, 2:13 PM
Vitaliy Fedyaev
Vitaliy Fedyaev - avatar
0
thanks!
10th Nov 2022, 2:31 PM
Akari
Akari - avatar