home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
OTHERUTI
/
TCPP30-3.ZIP
/
EXAMPLES.ZIP
/
INTRO6.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1992-02-18
|
495b
|
18 lines
// INTRO6.CPP--Example from Chapter 3, "Introduction to C++"
#include <iostream.h>
int main()
{
int i = 101, j = 59, k = 0;
int m = 70, n = 85, p = 5;
int q = 39, r = 110, s = 11;
cout << '\t' << "Won" << '\t' << "Lost" << '\t' << "Tied\n\n";
cout << "Eagles" << '\t' << i << '\t' << j << '\t' << k << '\n';
cout << "Lions" << '\t' <<m << '\t' << n << '\t' << p << '\n';
cout << "Wombats" << '\t' << q << '\t' << r << '\t' << s << '\n';
return 0;
}