switch case 的功能
switch自己没有判定和分支能力,switch是拿着结果去找case举行匹配,
case具有判定能力,但没有分支能力,case是通过break完成分支功能
break具有分支功能,相当于if的分支能力.
default相当else,处理非常环境
(补充) 屏蔽告诫的方法
error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.