File: sin.c

package info (click to toggle)
jgraph 83-10
  • links: PTS
  • area: main
  • in suites: hamm, potato, slink
  • size: 604 kB
  • ctags: 448
  • sloc: ansic: 4,639; makefile: 196; sh: 106; awk: 104
file content (7 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#include <math.h>
     main()
     {
       double x;
       for (x = -10.0; x < 10.0; x += .03)
         printf("%f %f\n", x, sin(x));
     }