needs to be done in c++
*22.13 (Count the occurrences ofwords) Write a program that prompts the user to enter a file name, counts the occurrences of words in the file, and displays the words and their occurrences in ascending order of words. Words are separated by spaces. The program uses a map to store a pair consisting of a word and its count. For each word, check whether it is already a key in the map.
OR
OR