Txerrinko

Bucle FOR básico .Del 1 al -28

Jul 26th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char *argv[])
  5. {
  6.  
  7.  int n;
  8.  
  9.  for ( n = 1; n >= -28 ; n-- )
  10.  {
  11.      printf("\n%d",n);
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.   system("PAUSE"); 
  21.   return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment