为啥写这个结构体的时候显示unknown type name xl?哪里有问题?
#include<stdio.h>struct xl
{
float x;
float y;
}xl1,xl2;
main()
{
xl xl1,xl2;
scanf("%f",&xl1.x);
scanf("%f",&xl1.y);
scanf("%f",&xl2.x);
scanf("%f",&xl2.y);
float x3,y3;
x3=xl1.x+xl2.x;
y3=xl1.y+xl2.y;
printf("(%.1f,%.1f)",x3,y3);
return 0;
}