The phenomenon and background of the problem
As the title . If I input an English material text and a key word text . All words in two texts do not include spaces and straddles between words , Letters are not case sensitive . The English material text is a normal English novel paragraph . The key word text is composed of only words , Words are separated by commas .
The program counts the total number of times the words in the key word text appear in the English data text , And sort the words according to the number of occurrences .
Output key words according to the number of occurrences from large to small . The output format doesn't matter . How to design this kind of small program code . I'm an English college student , learn by oneself C Language . Want to design a small program for high-speed review . But I have no idea .
Problem related code , Do not paste screenshots
Operation results and error reporting contents
My solution ideas and tried methods
What I want to achieve
Please try to use basic grammar , I am a beginner , Advanced grammar can't be understood very well