home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
APDL Public Domain 1
/
APDL_PD1A.iso
/
program
/
c
/
c_tutor
/
c_1
/
dowhile
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-11-14
|
165 b
|
13 lines
/* 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);
}