摘要: 1编写程序,定义两个整形变量,赋值并输出 #include<stdio.h> main(){ int a=5; int b=8; printf("a的赋值是%d\n",a); printf("b的赋值是%d\n",b); } 2编写程序,定义一个单精度和一个双精度的变量,赋值并输出 #include 阅读全文
posted @ 2021-10-12 14:21 拾柒^ 阅读(23) 评论(0) 推荐(0)
摘要: 1.编写程序,输出“我爱c语言!” #include<stdio.h> main(){ printf("我爱c语言\n"); } 2分行输出自己的专业和姓名 #include<stdio.h> main(){ printf("计算机科学与技术\n"); printf("李思琦\n"); } 3用*输 阅读全文
posted @ 2021-10-08 00:01 拾柒^ 阅读(26) 评论(0) 推荐(0)