摘要:
1.编写程序,使用scanf()函数接收整型,实型,字符型的变量,并分析依次输出 #include<stdio.h> main(){ int a; float b; char c; scanf("%d,%f,%c",&a,&b,&c); printf("%d\n%f\n%c\n",a,b,c);} 阅读全文
posted @ 2021-10-16 22:04
冠希不在-
阅读(34)
评论(0)
推荐(0)
摘要:
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
冠希不在-
阅读(21)
评论(0)
推荐(0)