Read 2 integer values and store them in variables A and B. sum of A and B by assigning its result to variable X. Print X as shown below. Do not present any messages in addition to what is being specified, and be sure to print the end of line after the result, otherwise you will receive "Presentation Error".
Entry
The entry contains 2 integer values.
Output
Print the message "X=" (capital letter X) followed by the value variable X and the end of the line. Make sure you have a space before and after the equality sign, as shown in the example below.
In this exercise I put it like this:
var a = 10
var b = 9
var X = a + b
console.log('X = ', X)
And yet you're saying that the resolution of this exercise is wrong. Why?
I'm starting programming.