Read 2 variables, named A and B and make the sum of these two variables, assigning its result to the variable X. Print X as shown below. Print endline after the result otherwise you will get “Presentation Error”.
The input file will contain 2 integer numbers.
Print X according to the following example, with a blank space before and after the equal signal.
|Sample Inputs||Sample Outputs|
|X = 19|
|X = -6|
|X = 8|
int a, b;
printf(“X = %d\n”, a + b);