lesson 9 by fives c
[[lesson_9_by_fives_c]] last edit on Aug 10, 2005 3:48 AM by rescued_by_c

[user02@FC4 Lesson09]$ cat -n by_fives.c
   1  #include <stdio.h>
   2
   3  int main(void)
   4  {
   5     int count;
   6
   7     for (count = 0; count <= 100; count += 5)
   8        printf("%d ", count);
   9
  10     printf("\n");
  11
  12     return 0;
  13  }
[user02@FC4 Lesson09]$ gcc -o by_fives by_fives.c
[user02@FC4 Lesson09]$ ./by_fives
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100