Question: It should be done in c++ Problem 4. (30 points) You are given an array of strings where the array already contains one word per
It should be done in c++

Problem 4. (30 points) You are given an array of strings where the array already contains one word per entry. This means each entry only contains lowercase and uppercase letters from the English alphabet. Your task is to write functions that take in the array as the parameter that do the following: a) (10 points) Determine whether there some identical words in the array, or are all the entries different? The signature of this function should be bool duplicates (string array[], int size) where size is the size of the array. The function should return true if there are duplicates, and false if all elements are distinct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
