diff --git a/main.cpp b/main.cpp index d88a787..6979955 100644 --- a/main.cpp +++ b/main.cpp @@ -11,5 +11,7 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a > b) cout << "max =" << a; + else cout << "max =" << b; return 0; }