home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT134.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-09  |  461 b   |  24 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat134.c                                             */
  3. /*------------------------------------------------------------------*/
  4. #include <dos.h>
  5.  
  6. void main()
  7. {
  8.  int i;
  9.  for(i=50;i<=200;i++)
  10.  {
  11.      sound(i);
  12.      delay(100);
  13.      nosound();
  14.      delay(50);
  15.  }
  16.  for(i=i;i>=50;i--)
  17.  {
  18.      sound(i);
  19.      delay(100);
  20.      nosound();
  21.      delay(50);
  22.  }
  23. }
  24.