home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
gencsrc.arc
/
DOWHILE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1987-11-21
|
248b
|
14 lines
/* Chapter 3 - Program 2 */
/* This is an example of a do-while loop */
main()
{
int i;
i = 0;
do {
printf("The value of i is now %d\n",i);
i = i + 1;
} while (i < 5);
}