home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c063
/
1.ddi
/
EXAMPLES.ZIP
/
INTRO24.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1992-02-18
|
253 b
|
17 lines
// INTRO24.CPP--Example from Chapter 3, "An Introduction to C++"
#include <iostream.h>
int main()
{
int num = 0;
while (num++ <= 10)
{
if (num % 2 != 0)
continue;
cout << '\n' << num;
}
return 0;
}