sin - C++ Reference - cplusplus.com - The C++ Resources Network
1 2 3 4 5 6 7 8 9 10 11 12 13 14 /* sin example */ #include /* printf */ #include /* sin */ #define PI 3.14159265 int main () { double param, result; param = 30.0; result = sin (param*PI/180); printf ("The sine of %f degrees is %f.\n", param ......