Exercise: Arrays
Let's solve some exercises on arrays before moving onto the next chapter.
We'll cover the following...
Problem statement #1
In the code widget below, write a method to calculate the number of zeros in the array by passing a block to the count
method.