diff --git a/main.cpp b/main.cpp index 6065601..fd6e13d 100644 --- a/main.cpp +++ b/main.cpp @@ -17,5 +17,13 @@ int main(){ { cout << " max element is " << a; } + if (a > b) + { + cout << " min element is " << b; + } + else + { + cout << " min element is " << a; + }; return 0; -} \ No newline at end of file +}