- 博客(2)
- 收藏
- 关注
原创 if语句的嵌套
#include <stdio.h>#include <stdlib.h>void main(){int score;printf("请输入一个成绩\n");scanf("%d",&score);if (score<80) if(score<70) if(score<60) printf("E\n"); else printf("D\n"); else printf("C\n"...
2022-02-28 17:36:46
162
原创 从键盘上输入一个大写字母,输出对应小写字母
#include <stdio.h>#include <stdlib.h>main(){ char ch; printf("请输入大写字母\n"); scanf("%c",&ch); printf("对应小写字母为:%c\n",ch+32);}
2022-02-27 21:05:20
14618
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅