#include<stdio.h>
#define pi 3.14159
void main()
{
doublea,b,f;
intc,e;
printf("请输入弧度:");
scanf("%lf",&a);
b=(a/pi)*180;
e=(int)b;
c=(int)((b-e)*100);
while(c>=60)
{b+=1;
c-=60;
}
f=(((b-e)*100)-c)*10;
while(f>=60)
{c+=1;
f-=60;
}
printf("角度=%.0lf°%d′%.1lf〃",b,c,f);
}