From e869ca02b722cb8f2d37018f79c99468305bb0e1 Mon Sep 17 00:00:00 2001 From: "Alice (GoloshchapovDY)" Date: Wed, 27 Mar 2024 15:40:03 +0300 Subject: [PATCH] code: double --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index d57dc18..7b362bd 100644 --- a/main.cpp +++ b/main.cpp @@ -5,7 +5,7 @@ using namespace std; int main() { cout<<"Enter A and B: "; - int a,b; + double a,b; cin>>a>>b; cout<<"A+B= "<