Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.    int Count;
  6.    int Array[10];
  7.  
  8.    for (Count = 1; Count <= 10; Count++)
  9.    {
  10.       Array[Count-1] = Count * Count;
  11.    }
  12.  
  13.    for (Count = 0; Count < 10; Count++)
  14.    {
  15.       printf("%d\n", Array[Count]);
  16.    }
  17.  
  18.    return 0;
  19. }
  20.  
  21. // vim: set expandtab ts=4 sw=3 sts=3 tw=80 :
  22.