Advertisement
Guest User

Untitled

a guest
Dec 13th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. #include<stdlib.h>
  3. #include <conio.h>
  4. #include<time.h>
  5. #include<math.h>
  6.  
  7. #define N 100
  8. #define M 4
  9.  
  10. int main (void)
  11. {
  12. float tab [N][M];
  13. int i=0;
  14. int j=0;
  15. int a=-1;
  16.  
  17. for (i=0; i<N; i=i+1)
  18. {
  19. tab[i][1]= 10.0*sin((i+10.0)/15.0);
  20. printf("%f\n",tab[i][1]);
  21. }
  22. printf("\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement