Page 1 of 1

EXercise 2_bugs.cX /*Calculate and display the difference of two input values * 3 #include int Main (void) { i

Posted: Fri May 20, 2022 1:34 pm
by answerhappygod
Exercise 2 Bugs Cx Calculate And Display The Difference Of Two Input Values 3 Include Stdio H Int Main Void I 1
Exercise 2 Bugs Cx Calculate And Display The Difference Of Two Input Values 3 Include Stdio H Int Main Void I 1 (42.94 KiB) Viewed 22 times
Hi may I know if there is anything wrong with my code as I cant
seem to make it run
EXercise 2_bugs.cX /*Calculate and display the difference of two input values * 3 #include <stdio.h> int Main (void) { int X, X, sum; scanf("%d", &X); scanf("%d" &x) ; sum = x + x ; printf ("The sum of %d and %d is %d/n", X, X, sum); return 0; } B