From 5e2bbc97fe03438519ba5e332957e7b1956728df Mon Sep 17 00:00:00 2001 From: "Ivan (BeloziorovIA)" Date: Mon, 28 Apr 2025 14:35:52 +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=D0=B8=D0=B5=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8?= =?UTF-8?q?=D0=B8=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=B3=D0=B8=D1=81=D1=82=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC?= =?UTF-8?q?=D1=8B=20(=D1=80=D0=B0=D1=81=D1=87=D1=91=D1=82=D0=B0=20bins)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/main.cpp b/main.cpp index 939aec7..b3b9e83 100644 --- a/main.cpp +++ b/main.cpp @@ -46,21 +46,8 @@ void find_minmax(const vector& numbers, double& Min, double& Max){ } -/* - //Поиск максимума - double max = Numbers[0]; - for (int i = 1; i < number_count; i++) { - if (Numbers[i] > max) - max = Numbers[i]; - } - //Поиск минимума - double min = Numbers[0]; - for (int i = 1; i < number_count; i++) { - if (Numbers[i] < min) - min = Numbers[i]; - } - - */ +//Функция расчёта гистограммы ДОДЕЛАТЬ +void make_histogram(vector Numbers, size_t bin_count){} int main() { const size_t SCREEN_WIDTH = 80;