Compound Assignment With Augmented Subtraction 2

Tell us what’s happening:

Your code so far

var a = 11;
var b = 9;
var c = 3;

// Only modify code below this line

a = a - 6;
b = b - 15;
c = c - 1;


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/compound-assignment-with-augmented-subtraction

You didn’t put anything in the “Tell us what’s happening” section. Please tell us what is going on and what steps you have tried to fix it.

can someone just tell me what it is

Here’s the instructions and hint again:

Like the += operator, -= subtracts a number from a variable.
myVar = myVar - 5;
will subtract 5 from myVar. This can be rewritten as:
myVar -= 5;

The most important part there is

This can be rewritten as: myVar -= 5;

That’s all you have to do for the question - look for any parts that have thing = thing - otherthing and rewrite as thing -= otherthing

Out of interest how did you do the previous exercise involving +=?