摘要: 编写程序,定义两个整形变量,赋值并输出 #include<stdio.h> main() { int a=5; int b=7; printf("%d %d\n",a,b); } 2.编写程序,定义一个单精度和一个双精度的变量,赋值并输出。 #include<stdio.h> main() { fl 阅读全文
posted @ 2021-10-13 21:51 露露0817 阅读(30) 评论(0) 推荐(0)
摘要: 1.编写程序输出“我爱C语言!” #include< stdio.h > main() { printf("我爱学习C语言!"); } 2.分行输出自己的专业和姓名。 #include< stdio.h > main() { printf("计算机科学与技术\n 王琪涵\n"); } 3.用*输出字 阅读全文
posted @ 2021-10-03 18:54 露露0817 阅读(21) 评论(0) 推荐(0)