For_test.c
上传用户:dq031136
上传日期:2022-08-08
资源大小:802k
文件大小:0k
源码类别:

VC书籍

开发平台:

C++ Builder

  1. #include <stdio.h>
  2. void main(void)
  3.  {
  4.    int counter;
  5.    for (counter = 1; counter <= 5; counter++)
  6.     printf("%d ", counter);
  7.    printf("nStarting second loopn");
  8.    
  9.    for (counter = 1; counter <= 10; counter++)
  10.     printf("%d ", counter);
  11.    printf("nStarting third loopn");
  12.    for (counter = 100; counter <= 5; counter++)
  13.     printf("%d ", counter);
  14.  }