/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
#include <math.h>
int main()
{
double angle, sin_val, cos_val, tan_val;
printf("각도(라디안) 입력: ");
scanf("%lf",&angle);
sin_val = sin(angle);
cos_val = cos(angle);
tan_val + tan(angle);
printf("sin(%.2lf) = %lf\n",angle,sin_val);
printf("cos(%.2lf) = %lf\n",angle,cos_val);
printf("tan(%.2lf) = %lf\n",angle,tan_val);
return 0;
}