From 622011517b9dd430348a11fc0c702f765bd5bf66 Mon Sep 17 00:00:00 2001 From: abcd-110 <72389367+abcd-110@users.noreply.github.com> Date: Mon, 5 Oct 2020 18:12:13 +0530 Subject: [PATCH] Update sum of two integers.cp --- DSA/sum of two integers.cp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/DSA/sum of two integers.cp b/DSA/sum of two integers.cp index 00ff611..1b42cae 100644 --- a/DSA/sum of two integers.cp +++ b/DSA/sum of two integers.cp @@ -10,8 +10,10 @@ using namespace std; int main() { - //write code here - - + int a,b,sum; + printf("Enter the value of a and b"); + /nscanf("%d %d",&a,&b); + sum=a+b; + printf("Sum=%d",sum); return 0; }