Guest User

Untitled

a guest
May 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main (void)
  4. { float w,b,y;
  5.   printf ("Sinustabelle:\n");
  6.   for (w = 0; w<=360;w += 5)
  7.       { b = (w/360)*2*M_PI;
  8.         y = sin(b);
  9.         printf ("%5.1f = %5.3f sin: %+5.3f\n",w,b,y);
  10.   }
  11. }
Add Comment
Please, Sign In to add comment