当前位置: X题卡 > 所有题目 > 题目详情

已知int a;float b;所用的scanf调用语句格式为: scanf("a//%d,b=%f",&a,&b); 为了将数据3和25.08分别赋给x和y,正确的输入应当是

查看本题答案

你可能感兴趣的试题

scanf("%S",S[0].name);  scanf("%d",&s[0].age);  scanf("%C",&(ps->sex));  scanf("%d",ps->age);  
scanf("%s",pup[0].name); scanf("%d¨,&pup[0].age;scanf(“%d”,&(psex)) scanf("%d",Page);  
scanf("%s",s[0].nam;  scanf("%d",&s[0].ag;  scanf("%c",&(ps->se);  scanf("%d",ps->ag;  
scanf("%s",s[0].name);  scanf("%d",&s[0].age);  scanf("%c",&(ps->***));  scanf("%d",ps->age);  
scanf("%s",s[0].name);  scanf("%d",&s[0].age);  scanf("%c",&(ps->***));  scanf("%d",ps->age);  
m=10,n=66.6<回车>  10 66.6<回车>  10<回车>66.6<回车>  m=10<回车>n=66.6<回车>  
scanf("%s",pup[0].nam;  scanf("%d",&pup[0].ag;  scanf("%dT",&(p->se);  scanf("%d",p->ag;  
scanf("%f%f",&a,& ;  scanf("%f%d",&a;& ;  scanf("%d,%f",&a,& ;  scanf("%6.2f%6.2f",&a,& ;  
scanf("%f%f",&a,&b);  scanf("%f%d",&a,&b);  scanf("%d,%f",&a,&b);  scanf("%6.2f%62f",&a,&b);  
scanf("%d",ps->age);  scanf("%d",&s[0].age);  scanf("%c",&(ps->sex));  scanf("%s",s[0].name;  
scanf("%S",S[0].name);  scanf("%d",&s[0].age);  scanf("%C",&(ps->sex));  scanf("%d",ps->age);  
scanf("%s",pup[0].name);  scanf("%d",&pup[0].age);  scanf("%dT",&(p->sex));  scanf("%d",p->age);  
scanf("%s", pup[0]. name);  scanf("%d", &pup[0]. age);  scanf("%d", &(p->sex) );  scanf("%d", p->age);  

热门试题

更多