Lowercase to Uppercase with array

code:

Another approach:

Another Approach I found on my head: