请问我该怎么改正啊不知道哪错了 所以不知道第8行怎么修改谢谢指点
第7行:scanf_s("%d",&n); //不变插入一行:getchar();第8行:scanf_s("%c",&c,1); //scanf_s("%c",&c); 修改
scanf_s("%c",&c,1);