实验3
作者:互联网
#include<stdio.h> int main() { double x,y; char c1,c2,c3; int a1,a2,a3; scanf("%d%d%d",&a1,&a2,&a3);//添加& printf("%d,%d,%d\n",a1,a2,a3); getchar();//读取换行符 scanf("%c%c%c",&c1,&c2,&c3); printf("%c%c%c\n",c1,c2,c3); scanf("%lf,%lf",&x,&y); printf("%lf,%lf\n",x,y); return 0; }
标签:lf,scanf,c%,a1,a3,实验,printf 来源: https://www.cnblogs.com/sllych/p/16057108.html