home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
TCTUTOR
/
C_FILES
/
FORLOOP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1987-07-04
|
242b
|
11 lines
/* Chapter 3 - Program 3 */
/* This is an example of a for loop */
main()
{
int index;
for(index = 0;index < 6;index = index + 1)
printf("The value of the index is %d\n",index);
}