摘要: 1.编写程序,定义两个整型变量,赋值并输出 #include<stdio.h>main(){ int a=6; int b=9; printf("%d\n%d\n",a,b);} 2.编写程序,定义一个单精度和双精度的变量,赋值并输出 #include<stdio.h>main(){ float m 阅读全文
posted @ 2021-10-16 21:04 冠希不在- 阅读(22) 评论(0) 推荐(0)
摘要: 编写程序 1.编写程序,输出'我爱学习c语言!" #include<stdio.h>main(){ printf("我爱学习c语言!\n"); } 2.分行输出自己的专业和姓名 #include<stdio.h>main(){ printf("计算机科学与技术\n简俊康\n");} 3.用*号输出字 阅读全文
posted @ 2021-10-02 13:22 冠希不在- 阅读(10) 评论(0) 推荐(0)