摘要: 1编写程序,定义两个变量,赋值并输出 #include <stdio.h> main(){ int a=1,b=2; printf("%d%d",a,b); } 2定义一个单精度和双精度变量,赋值并输出 #include <stdio.h> main(){ float a=1.4; double b 阅读全文
posted @ 2021-10-12 12:50 荽邊 阅读(34) 评论(0) 推荐(0)
摘要: #include 1 编写程序,并输出”我爱学习c语言!”. #include<stdio.h> main() { printf("我爱学习c语言!"); } 2 分行输出自己的专业和姓名. #include<stdio.h> main() { printf("计算机科学与技术\n朱天琪\n!"); 阅读全文
posted @ 2021-09-28 16:17 荽邊 阅读(17) 评论(0) 推荐(0)