From 7336a3b3fd4a60dc7bbbf1df28d8203e52285c40 Mon Sep 17 00:00:00 2001 From: tshirt04 <56727282+tshirt04@users.noreply.github.com> Date: Fri, 18 Oct 2019 18:34:04 +0530 Subject: [PATCH] Simple in c++ --- sum_of_two_num.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sum_of_two_num.cpp b/sum_of_two_num.cpp index e89afd6..d19cf2e 100644 --- a/sum_of_two_num.cpp +++ b/sum_of_two_num.cpp @@ -1,8 +1,10 @@ -#include +#include +using namespace std; int main() { int a,b,c; - scanf("%d%d",&a,&b); + cin>>a>>b; c=a+b; - printf("%d",c); + cout<