From 4470938f66bbbe3ffc419cff15f47c76aa38fdd9 Mon Sep 17 00:00:00 2001
From: "Bob (IyevlevMikD)" <IyevlevMikD@mpei.ru>
Date: Wed, 27 Mar 2024 16:38:35 +0300
Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?=
 =?UTF-8?q?=D0=B5=D0=BD=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D1=83=D0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 main.cpp | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/main.cpp b/main.cpp
index 21322c3..f00e19e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,7 @@ int main()
     cout << "Enter A and B: ";
     float a, b;
     float max;
+    float min;
     cin >> a >> b;
     cout << "A + B = " << a + b << '\n'
      << "A - B = " << a - b << '\n'
@@ -20,5 +21,12 @@ int main()
             max = i;
         }
      }
-     cout << max;
+     cout << max << endl;
+     min = a+b;
+     for (const int& i : c) {
+        if (i < min) {
+            min = i;
+        }
+     }
+     cout << min;
 }