Solution: Halve the Elements of the Array

Here is a solution to the coding challenge given in the previous lesson.

We'll cover the following

Solution #

Here is the code that halves all the elements of the array which are greater than 10.

Get hands-on with 1400+ tech skills courses.