Compound Assigniment With Augmented Addition

Compound Assigniment With Augmented Addition
0

#1

Tell us what’s happening:

Your code so far

// Initialize these three variables
var a;
var b;
var c;

// Do not change code below this line

a = a + 1;
b = b + 5;
c = c + " String!";

var a = 6;
var b = 15; 
//var c ="I am a";

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:


#2

So the initial prompt shows

// Initialize these three variables
var a;
var b;
var c;

// Do not change code below this line 

a = a + 1;
b = b + 5;
c = c + " String!";

We don’t want to touch the code below the comment of “Do not change code below this line”.

On the top portion where we have the declarations of a, b, c, we want to set them equal to values to pass the tests. You may need to do some math.