source: trunk/Jgraph/sin.c@ 470

Last change on this file since 470 was 420, checked in by Nicholas Riley, 16 years ago

Jgraph: my changes - ANSIfication, few minor bug fixes; works on OS X 10.5 now

File size: 187 bytes
RevLine 
[420]1#include <stdio.h>
[418]2#include <math.h>
[420]3 int main(void)
[418]4 {
5 double x;
6 for (x = -10.0; x < 10.0; x += .03)
7 printf("%f %f\n", x, sin(x));
[420]8 return 0;
[418]9 }
Note: See TracBrowser for help on using the repository browser.