Is there a way for me to make the user input a word instead of a number for a switch statement?

前端 未结 0 1646
有刺的猬
有刺的猬 2020-11-30 01:28

I cant imagine I\'m the first person to ask this, but I couldn\'t find an answer anywhere here.

I\'m writing a menu, where I want the user to be able to choose one of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题