...

/

Solution Review: Array of Squares

Solution Review: Array of Squares

In the following lesson, we will go over the solution of the challenge: Array of Squares.

Task

In this challenge, you were provided an array of numbers which needed to be squared.

Solution

Let’s go over the solution step-by-step.

  • The first thing you had to figure out is that this problem requires a for expression.

  • Next, you ...