C should not contain undefined,, how do i get this done?

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; var a=6
b = b + 5; var b=15
c = c + " String!"; var c="i am a"

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

Hello @udomeh.

You did not initialize the variable a, b and c Here

And as you can see in the comment, it says do not change the code below this line, but you changed it.

What you have to do now is to assign the values given in the challenge to the variables above a, b and c, in the right place.

When you see the above line of code, you should only be changing the lines of code above it.

i appreciate this reply, however i am still getting this wrong. a direct answer will really help to get over this

We are here to help guide you to a solution and not just give you the solution. Can you post the new version of your code, so we can take a look?

Just realized this a duplicate topic of Undefined and how to initialiaze this var. I have closed this one, so please use the original thread (link above) for all further replies.

Thank you.