It must be wrong because It will not pass me. Please help?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

// Only change code below this line
a += 15;
b += 26;
c += 19;

Your browser information:

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

Challenge: Compound Assignment With Augmented Addition

Link to the challenge:

You started with

a = a + 12;
b = 9 + b;
c = c + 7;

so why did you change the numbers

Because a = a+12 and a =3 making a += 15; etc. no?

now the value of a is 18 tho, did you want to change the value of a?

no where you are asked to do the calculations yourself, only to write using the compound assignment-addiction you just learned

1 Like

Thank you! I appreciate you.

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