Intializing variable

Tell us what’s happening:
what is wrong here help, please.

// Only change code below this line
var a;
var b;
var c;
// Only change code above this line

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

var a = 6;
var b = 15;
var c = c “i am a”;

Your code so far


// Only change code below this line
var a;
var b;
var c;
// Only change code above this line

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

var a = 6;
var b = 15;
var c = c "i am a";

Your browser information:

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

Challenge: Understanding Uninitialized Variables

Link to the challenge:

You need to initialize the variables a, b, and c. Initialize means to set them equal to a value. So you need to set them equal to the values given in the instructions.

1 Like

reset your code, look at the comments inside the code and respect what’s written there

they indicate what part of the code you need to change