From 3917c79f9190678b9c4805ffb3ce818c12579df4 Mon Sep 17 00:00:00 2001 From: victoriaCS Date: Sat, 6 Sep 2025 14:40:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20prompt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 163d87f..05ff0a4 100644 --- a/main.cpp +++ b/main.cpp @@ -15,7 +15,10 @@ struct Input { size_t bin_count{}; }; -Input input_data(istream& in) { +Input input_data(istream& in, bool prompt) { + if (prompt) { + cerr << "Enter number count, numbers and bin count: "; + } size_t number_count; in >> number_count;