Commit | Line | Data |
---|---|---|
1 | #include <math.h> | |
2 | #include <stdio.h> | |
3 | #include <stdlib.h> | |
4 | ||
5 | int | |
6 | main(int argc, char **argv) | |
7 | { | |
8 | double x; | |
9 | if (argc > 1) | |
10 | x = atof (argv[1]); | |
11 | else | |
12 | x = 3; | |
13 | x = sin (x); | |
14 | if (x > 0) | |
15 | printf("OK\n"); | |
16 | return 0; | |
17 | } |