jessie1
October 26, 2020, 2:28pm
#1
Tell us what’s happening:
Your code so far
// Only change code below this line
var a;
a = 5;
var b;
b = 10;
var c;
c = "";
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
.
Challenge: Understanding Uninitialized Variables
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Hi. I’m guessing you’re stuck.
This challenge wants c to have a value of “I am a String!”
If " String!" is going to be added on to the end of it, can you see what you need set c to in this section?
// Only change code below this line
var a;
a = 5;
var b;
b = 10;
var c;
c = "";
// Only change code above this line
jessie1
October 26, 2020, 2:44pm
#3
Hi. i have tried typing “i am a” but it still gives me an error please advice me on what to write
jessie1:
“i am a”
The test is case sensitive so that lowercase “i” is probably what’s causing you trouble.
jessie1
October 26, 2020, 3:28pm
#5
thank you
the problem is that i used small letter i instead of capital letter
1 Like