home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
turbo_c
/
trbocsrc.arc
/
BREAKCON.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-02-01
|
374b
|
18 lines
/* Chapter 3 - Program 5 */
main()
{
int xx;
for(xx = 5;xx < 15;xx = xx + 1){
if (xx == 8)
break;
printf("In the break loop, xx is now %d\n",xx);
}
for(xx = 5;xx < 15;xx = xx + 1){
if (xx == 8)
continue;
printf("In the continue loop, xx is now %d\n",xx);
}
}