fork download
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5. float x;
  6. int n,c;
  7. scanf("%f %d",&x,&n);
  8. printf("%.4f",cos(x));
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5324KB
stdin
1.5 3
stdout
0.0707