摘要: 1编写程序,定义俩个整数变量,赋值并输出 #include<stdio.h> main() { int a=2; int b=6; printf("%d%d\n",a,b); } 2编写程序,定义一个单精度和一个双精度的变量,赋值并输出 #include<stdio.h> main() { floa 阅读全文
posted @ 2021-10-15 13:34 崔花钱 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1.编写程序,输出“我爱学习c语言” #include<stdio.h> main() { printf("我爱学习c语言!"); } 2.分行输出自己的专业和名字 #include<stdio.h> main() { printf("计算机科学与技术\n崔利贵"); } 3.用*号输出字母c的图案 阅读全文
posted @ 2021-10-07 12:39 崔花钱 阅读(14) 评论(0) 推荐(0) 编辑