Develop a c++ project with the following features (DO NOT develop multiple projects -- only one project with all the features)
1. Develop a function that takes an array of values and returns the sum of all the array elements. The function can take any data type that can use "+" to add values.
2. Develop a function that takes a string as the parameter. The function returns how many words are in the string. Name the function as "wordcount( )".
3. In your main function, ask the user to enter a string. Display "Your input has x words." The x should be a number returned from the function wordcount( ).