10 2021 档案
摘要:1.将学生成绩分为A,B,C,D,NO PASS! #include<stdio.h> main(){ int m; printf("请输入学生的成绩(0-100):\n"); scanf("%d",&m); switch(m/10) { case 10: case 9:printf("A\n");
阅读全文
摘要:编写程序,定义两个整型变量,赋值并输出。 #include<stdio.h> main() { int a=6; int b=8; printf("%d%d\n",a,b); } 2. 编写程序,定义一个单精度和一个双精度的变量,赋值并输出。 #include<stdio.h> main() { f
阅读全文
摘要:编写程序,输出;“我爱学习c语言!” #include<stdio.h> main() { printf("我爱学习c语言"); } 2分行输出自己的专业和姓名 #include<stdio.h> main() { printf("计算机2107\n张盛汇"); } 3用*输出字母c的图案 #inc
阅读全文

浙公网安备 33010602011771号