From a4aeeb11b1e722da45a0d08cf0e366f68a16d81b Mon Sep 17 00:00:00 2001 From: "Alice (TupikovAA)" Date: Thu, 3 Apr 2025 22:19:49 +0300 Subject: [PATCH] code: add input --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index b4392ec..842760d 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,8 @@ using namespace std; int main() { - cout << "Hello world!" << endl; - return 0; + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + }