__zero__

stress.c

Apr 6th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. void main()
  5. {
  6.  
  7.     int a, b, c, d, e, f, g;
  8.     c = 0;
  9.     d = 15;
  10.     e = c + d;
  11.     g = e + c;
  12.     b = 10;
  13.     c = 20;
  14.     for (a = 0; a < b+c*f; a++)
  15.     {
  16.         c += a;
  17.         d += 15;
  18.         e = c + d;
  19.         g = e + c;
  20.         if (!(a+1 < b+c*f))
  21.         {
  22.             b += c;
  23.             c *= f;
  24.         }
  25.         printf("%d %d %d %d %d %d\n", b, c, d, e, f, g);
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment