#include<stdio.h>
main()
{
long a,b;
float x,y;
scanf("%If,%If",&a,&b);
scanf("%f,%f",&x,&y);
printf("a=%If,b=%If",a,b);
printf("x=%f,Y=%f",x,y);
}
结果:
#include<stdio.h>
main()
{
long a,b;
float x,y;
scanf("%If,%If",&a,&b);
scanf("%f,%f",&x,&y);
printf("a=%If,b=%If",a,b);
printf("x=%f,Y=%f",x,y);
}
结果: