Input
The input file contain 2 integer values.
Output
Print the variable X according to the following example, with a blank space before and after the equal signal. 'X' is uppercase and you have to print a blank space before and after the '=' signal.
Input Samples | Output Samples |
10 9 | X = 19 |
-10 4 | X = -6 |
15 -7 | X = 8 |
SOURCE CODE
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", & a, & b);
printf("X = %d\n", a + b);
return 0;
}
No comments:
Post a Comment