☰
Debian Codegraph
@
8.1.3+git20180702~ds1-3
/
/
help
/
figures
/
fig0608.cpp
☽
☼
help/figures/fig0608.cpp
code
plain
raw
symbols
SCIP
GPL-3.0+
2009 J. Stanley Warford, Pepperdine University
debian/copyright
1
// File: fig0608.cpp
2
// Computer Systems, Fourth Edition
3
// Figure 6.8
4
5
#include <iostream>
6
using
namespace
std;
7
8
int main () {
9
const int limit = 100;
10
int num;
11
cin >> num;
12
if (num >= limit) {
13
cout << "high";
14
}
15
else {
16
cout << "low";
17
}
18
return 0;
19
}