Given int variables len, first, and last, create an array nums of ints of length len and assign
its first element to the value of first and its last element to the value of last. Assume that the value of len
is at least 2.
Stuck? You may find these lessons helpful: