Question: 9 . [ 1 3 points ] Write a function that takes an array of strings as a parameter and an int specifying the size
points Write a function that takes an array of strings as a parameter and an int specifying the size of the array. It replaces each string in the array with the first half. You MUST use the half method from the previous page. For this question, we will assume your half method works correctly. For example, if the array of strings contains "frog", "cow", "eagle" it will contain frcea after calling your method. void shortenstring words int numWords
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
