home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
turbo_c
/
trbocsrc.arc
/
WHILE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-02-01
|
266b
|
14 lines
/* Chapter 3 - Program 1 */
/* This is an example of a "while" loop */
main()
{
int count;
count = 0;
while (count < 6) {
printf("The value of count is %d\n",count);
count = count + 1;
}
}