Consider the array A.
Write a program that computes the array B by computing the natural logarithm of all the elements of A whose value is no less than 1, and adding 20 to all the other elements. Do this two ways:
a. By using a for loop with conditional statements.
b. By using a logical array as a mask.