Suppose bot and top are positive integers with
a. How many elements are in this array?
b. Show that lithe number of elements in the array is odd, then the quantity
c. Show that if the number of elements in the array is even, then the quantity
(a)
To find:
The number of elements in the array.
Given information:
Suppose bot and topare positive integers with
The array is
Theorem used:
Number of elements in a list theorem: There are
Calculation:
The array is
(b)
To prove:
If the number of elements in the array is odd, then the quantity
(c)
To prove:
If the number of elements in the array is even, then the quantity