Something about a bit trigeometry and C++

Okay its suppose to be trigonometry in the title, my mistake.

To all those that know what sin and cos are - I wrote a program that gets a number from a user and shows its sin and cos. Now, I tried it, entering 90 as a number.

sin(90) equals 1, and cos (90) equals 0, but for some reason this output is been displayed:

sin(90) = 0.893997

cos(90) = -0.448074

Here is the code:

Code:

`#include <iostream>`

#include <cmath>

using namespace std;

int main()

{

cout << "Enter a number";

int num;

cin >> num;

cout << "sin(" << num << ") = " << sin(num) << "\n";

cout << "cos(" << num << ") = " << cos(num);

return 0;

}

Oh, and I know it has nothing to do with the post, but those anybody know how to prevent the program from displaying that "Press any key to continue"?