Compound Assignment With Augmented Multiplication please help stuck on c

Tell us what’s happening:
I just cant figure out c , this is my code so far please help.

Your code so far

var a = 5;
var b = 12;
var c = 4.6;

// Only modify code below this line

a *= a * 1;
b *= 1/4 * b;
c *= c * 2.2;


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10032.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.140 Safari/537.36.

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

When it comes to multiplication, you have two choice of phrasing :

a = a*2

or

a*=2

a*= a*2 will be recognised as a*a*2, or a²*2 thus not completing the instructions of the challenge :slight_smile:

1 Like