0
help me to run this!
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.
0
thanks!