Goal: Your assignment is to write a C++ program to read in afile of English text, and determine the length distribution ofwords in the text as well as count the occurrences of specificwords. This assignment will allow you to practice working witharrays.
Program Output: The text for The Message translation of John 1 wascopied into a file called “john1_niv.txt.” Footnote references wereremoved. My solution to this assignment was run using this file.The following screenshot shows what your program should output whenthis file is specified.
As you can see it has counted the number of words of each length,up to 12 characters long.
PayPal Gateway not configured
PayPal Gateway not configured