哪位大神知道如何输入使 a=3,b=7,x=8.5,y=71.82,c1='A',c2=’a‘{int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("x=%f y=%f",&x,&y);scanf("c1=%c c2=%c",&c1,&c2);printf("a=%d,b=%d,x=%f,y=%f,c1=%c,c2=%c",a,b,x,y,c1,c2);}

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 11:04:22
哪位大神知道如何输入使a=3,b=7,x=8.5,y=71.82,c1=''A'',c2=’a‘{inta,b;floatx,y;charc1,c2;scanf("a=%db=%d",&a,&b);sca

哪位大神知道如何输入使 a=3,b=7,x=8.5,y=71.82,c1='A',c2=’a‘{int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("x=%f y=%f",&x,&y);scanf("c1=%c c2=%c",&c1,&c2);printf("a=%d,b=%d,x=%f,y=%f,c1=%c,c2=%c",a,b,x,y,c1,c2);}
哪位大神知道如何输入使 a=3,b=7,x=8.5,y=71.82,c1='A',c2=’a‘
{int a,b;
float x,y;
char c1,c2;
scanf("a=%d b=%d",&a,&b);
scanf("x=%f y=%f",&x,&y);
scanf("c1=%c c2=%c",&c1,&c2);
printf("a=%d,b=%d,x=%f,y=%f,c1=%c,c2=%c",a,b,x,y,c1,c2);}

哪位大神知道如何输入使 a=3,b=7,x=8.5,y=71.82,c1='A',c2=’a‘{int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("x=%f y=%f",&x,&y);scanf("c1=%c c2=%c",&c1,&c2);printf("a=%d,b=%d,x=%f,y=%f,c1=%c,c2=%c",a,b,x,y,c1,c2);}
a=3 b=7
x=8.5 y=71.82
c1=A c2=a
scanf 里卖弄怎么写,外面终端就怎么输入,两个scanf相隔要按回车键;