Correct the syntax errors in the following program, and rewrite the program so that it follows our style conventions. What does each statement of your corrected program do? What output does it display?
/** Calculate and display the difference of two input values*)#includeintmain(void) {int X, /* first input value */ x, /* second input value */sum; /* sum of inputs */scanf("%i%i"; X; x); X + x = sum;printf("%d + %d = %d\n"; X; x; sum); return (0);}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.