第99行出现了99 2 C:\c语言\10086.c [Error] break statement not within loop or switch
该怎么修改

第99行出现了99 2 C:\c语言\10086.c [Error] break statement not within loop or switch
该怎么修改

保存是告诉你break语句应该在while,for,等循环,switch里使用,不能直接在函数里使用!这里应该将break用return替换就没有问题了!