...

/

Solution Review: Declaring a Variable

Solution Review: Declaring a Variable

In the following lesson, we will go over the solution of the challenge: Declaring a Variable.

Task

In this challenge, you needed to declare an immutable variable of type Int and initially assign it a value of 100. You then needed to print myFirstVariable.

Solution

Let’s look at each component separately:

  • ...