int main () {
int a, b, c, max;
cout << "a:";
cin >> a;
cout << "b:";
cin >> b;
cout << "c:";
cin >> c;
max = a;
...
if (max < b) max = b;
if (max < c) max = c;
cout << "max=" << max;
}
int main () {
int a, b, c, max;
cout << "a:";
cin >> a;
cout << "b:";
cin >> b;
cout << "c:";
cin >> c;
max = a;
...
if (max < b) max = b;
if (max < c) max = c;
cout << "max=" << max;
}