使用goto跳转到switch的某个case switch(n) { case 1: cost += 25; break; case 2: cost += 25; goto case 1; case 3: ... c/c++ 2023-09-27 200 点赞 3 评论 303 浏览