mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
18 lines
224 B
C
18 lines
224 B
C
#include <math.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
double x;
|
|
if (argc > 1)
|
|
x = atof (argv[1]);
|
|
else
|
|
x = 3;
|
|
x = sin (x);
|
|
if (x > 0)
|
|
printf("OK\n");
|
|
return 0;
|
|
}
|