Hi all!
Could anyone tell me why my calculator shows the value "0.91354646" and my c++ program shows "0.424179"?
I wanted to try the functions in the class "cmath.h" but it didn't work how it seems
Code:
#include <iostream>
#include <cmath>
int main()
{
float x;
x = cos(24);
printf("\n\nCos value of x: %f\n\n",x);
}