会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xiaowanglong
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2023年12月8日
学C笔记归纳 第八篇——分支循环语句2_switch
摘要: 基础模版:switch(int型变量){ case 整型常量: 执行语句;}#include <stdio.h> int main() { int x = 0; /*scanf("%d", &x);*/ scanf("%d", &x); switch (x) { case 1: printf("执行
阅读全文
posted @ 2023-12-08 13:18 王小龙s
阅读(4)
评论(0)
推荐(0)
编辑