From 26bc3ebe0612134b663321ac22b1b4a4a68399f5 Mon Sep 17 00:00:00 2001 From: "alice (IvanovVG)" Date: Mon, 17 Mar 2025 14:53:55 +0300 Subject: [PATCH] code: add input --- main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index b4392ec..eac5055 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,7 @@ using namespace std; int main() { - cout << "Hello world!" << endl; - return 0; + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; }