标签:const scanf ons nbsp main ble clu can color
#include<stdio.h> #include <math.h> int main() { int n; const double pi=acos(-1); double a,b; while(scanf("%d",&n)!=EOF) a=sin(n*pi/180); b=cos(n*pi/180); printf("%.2f\n%.2f\n",a,b); return 0; }
标签:const scanf ons nbsp main ble clu can color
原文地址:https://www.cnblogs.com/chenlong991223/p/9743214.html