determine a value of an array element based on a condition in another array
By saac Wilkinson at Jun 22 2020