home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
qc
/
qc25
/
forloop.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1989-11-15
|
178 b
|
11 lines
/* FORLOOP.C: Demonstrate for loop. */
#include <stdio.h>
main()
{
int test;
for( test = 10; test > 0; test = test - 2 )
printf( "test = %d\n", test );
}