From 40a83991d0a811b1933f09d42186ed67dec9b6c8 Mon Sep 17 00:00:00 2001 From: BhatNishanthGanesh <102415498+BhatNishanthGanesh@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:37:09 +0530 Subject: [PATCH 1/2] Update fix_me.c --- fix_me.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fix_me.c b/fix_me.c index fa99550..81e15f6 100644 --- a/fix_me.c +++ b/fix_me.c @@ -9,10 +9,10 @@ int main() { scanf("%d %d", &number1, &number2); // calculating sum - sum = number1 - number2; + sum = number1 + number2; // Multiply number 1 and number 2 - multi = number1 * number1 + multi = number1 * number2; printf("%d + %d = %d", number1, number2, sum); return 0; From 3c087d8829be23d4def21e9fe1be991c083e2bd4 Mon Sep 17 00:00:00 2001 From: BhatNishanthGanesh <102415498+BhatNishanthGanesh@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:49:44 +0530 Subject: [PATCH 2/2] Update fix_me.py --- fix_me.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fix_me.py b/fix_me.py index 1506169..534a523 100644 --- a/fix_me.py +++ b/fix_me.py @@ -4,10 +4,10 @@ a= int(input("Enter the first no: ")) b= int(input("Enter the second no: ")) # Divide two numbers -division= a-b +division= a/b # Square of first no. -a = a+a +a = a*a # Square of second no. b = b*b -print("Division",division) \ No newline at end of file +print("Division",division)