# include
# include
# define PI 3.1415926535897932
void main()
{
long double RTA(long double alfa);
double JJ(double vx,double vy);
double vx,vy;
long double alfa;
printf ("请输入两个点的坐标\n");
scanf ("%lf,%lf,%lf,%lf",&xa;,&ya;,&xb;,&yb;);
vx=xb-xa;
vy=yb-ya;
alfa=JJ(vx,vy);
printf ("则两点所连直线的方位角为:alfa=%lf\n",alfa);
2022-11-07 16:05:09
1KB
方位角
1