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.  
  7.    for (Count = 0; Count < 10; Count++)
  8.    {
  9.       printf("%d\n", (Count < 5) ? (Count*Count) : (Count * 3));
  10.    }
  11.  
  12.    return 0;
  13. }
  14.  
  15. /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
  16.