#include<math.h> #define PI 3.14159 #include<stdio.h> int main() { double a,b; printf("input number\n"); scanf("%lf",&a); b=sin(a*PI/180); printf("sin(%1f)= %lf",a, b); return 0; }
#include #define PI 3.14159 #include int main() { double a,b; printf("input number\n"); scanf("%lf",&a); b=sin(a*PI/180); printf("sin(%1f)= %lf",a, b); return 0; }