# Problem with exercice

**Tell us what’s happening:**Hi, I don’t get what is wrong. After the test, I receive :
// running tests
a should equal 15
b should equal 26
c should equal 19
// tests completed

Isn’t it the case with my code written underneath?

Your code so far

var a = 3;
a += 12;

var b = 17;
b += 9;

var c = 12;
c += 7;

// Only change code below this line
a = a + 12;
b = 9 + b;
c = c + 7;

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36.

Challenge: Compound Assignment With Augmented Addition

Link to the challenge:

HI @magouff !

Welcome to the forum!

You didn’t follow the instructions

Welcome magouff.

When I run your code with the output I see this:

var a = 3;
a += 12;

var b = 17;
b += 9;

var c = 12;
c += 7;

// Only change code below this line
a = a + 12;
b = 9 + b;
c = c + 7;

console.log("a: ", a, "b: ", b, "c: ", c);

Output:

a:  27 b:  35 c:  26

This is the starting code:

var a = 3;
var b = 17;
var c = 12;

// Only change code below this line
a = a + 12;
b = 9 + b;
c = c + 7;

I suggest you reset the challenge, and start again.

Hope this helps

of course !!! Thank you very much at least it was not my code understanding .
Have a good day

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.