摘要: 1,编写程序,定义两个整型变量,赋值并输出 #include<stdio.h> main(){ int a=3; int b=4; printf("%d %d\n",a,b); } 2.编写程序,定义一个单精度和一个双精度的变量,赋值并输出 #include<stdio.h> main(){ flo 阅读全文
posted @ 2021-10-12 11:17 计算机2106尹金袁 阅读(89) 评论(0) 推荐(0)
摘要: 1,编写程序,输出"我爱学习c语言!" #include<stdio.h> main(){ printf("我爱学习c语言"); } 2分行输出自己的专业和姓名 #include<stdio.h> main(){ printf("专业:计算机科学与技术 姓名:尹金袁"); } 3. 用*输出字母C的 阅读全文
posted @ 2021-10-01 13:23 计算机2106尹金袁 阅读(24) 评论(0) 推荐(0)