From d56e49c0fd6491d8dae0b7411632ce14999fde84 Mon Sep 17 00:00:00 2001 From: "Alice (AntonovDA)" Date: Tue, 12 Mar 2024 21:13:32 +0300 Subject: [PATCH] ... --- main2.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main2.cpp b/main2.cpp index 7710175..d21fb73 100644 --- a/main2.cpp +++ b/main2.cpp @@ -9,6 +9,10 @@ using namespace std; int main() { + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + size_t number_count, bin_count; cerr << "Enter number count: "; @@ -65,7 +69,7 @@ int main() } } - if (!found ) + if (!found) { bins[bin_count - 1]++; count[bin_count - 1]++; @@ -107,3 +111,4 @@ int main() } return 0; +} \ No newline at end of file