Anything wrong with this, I tried running it, it ignored the var c with string

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

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 = " I am a string!";

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; TECNO P704a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Did you miss the comment in the code:

// Only change code above this line

These are the only lines you are to change:

var a;
var b;
var c;

Hit the Reset All Code button and start over. Play very close attention to the instructions - which is a very important thing for a professional programmer to do anyway.

Let us know if you get stuck again.

1 Like

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