on the 2nd and final step…
Print: [“the sum of the numbers are:”] and the [sum] of variable [a] and [b] to the console.
here is my original and i believe my best attempt after spending an hour trying to get it to print the sum.
console.log(“the sum of the variables are:” + a+b );
VM5649:1 the sum of the variables are:45
Am i looking at it wrong… just realized maybe this is the accepted answer and not 9 (4+5) what i was looking for. Here is the lesson in more detail:
Summary of integers.
Create two integer variables and call them
b. Save the values
5in the variables.
The sum of the numbers are:” and the
bto the console.