What is wrong with this code? i initialized it also

Tell us what’s happening:

Your code so far


// Only change code below this line
var a = 5;
var b = 10;
var c=!"i am a";
// Only change code above this line

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

Your browser information:

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

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Hi @krish_2005 ,

Please check the initialisation of variable c.
Case of the letter i also makes a difference while passing the tests.

you have an extra character in this line, and in the string you need to make sure you have the required capitalization

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