#include<stdio.h>#include<math.h>int main(){ float x;int n,c;scanf("%f %d",&x,&n);printf("%.4f",cos(x));return 0;}
1.5 3
0.0707
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!