摘要: 1.switch的使用 int x = 2; int result = 0; switch (x) { case 1: result = result + x; case 2: result = result + x * 2; case 3: result = result + x * 3; } S 阅读全文
posted @ 2024-11-14 11:30 微醺的小布 阅读(2) 评论(0) 推荐(0) 编辑