We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Declaring a Variable

The var keyword is used to declare a variable the sad way. For example, to declare an integer variable called mySkillIssues and assign it the value 42:

// create a new variable, it defaults to 0
// (the "zero value" for ints)
var mySkillIssues int

// overwrite the zero value with 42
mySkillIssues = 42

Don't worry, we'll talk about a better way to declare variables in the next lesson.

Assignment

The code should print the user's sending limit... but there's a syntax bug!

Fix the syntax error on line 6.