c语言 switch (choice),c语言while与switch的嵌套
满意答案Ridere2017.01.11采纳率:59%等级:9已帮助:2369人你的choice类型不对,有两种修改方式1. 把choice改成char型,switch中case换成字符:#includeintmain(void){charchoice;while((choice=getchar())!='#')switch(choice){case'1':printf("y...