新人求解????
要求输入inta=2011,b=2o12char c1=N,c2=n
float x=3.140000, y=23.450000
我的编程#include<stdio.h>
main(){
int a,b;
char c1,c2;
float x, y;
scanf("%d%d%c%c%f%f",&a,&b,&c1,&c2,&x,&y);
printf("a=%d,b=%d,c1=%c,c2=%c,x=%f,y=%f","a,b,c1,c2,x,y");
}为何不正确?