Ask Question
6 August, 05:53

Write a C or C program E2p1. c (pp) that accepts one command line argument which is an integer n between 2 and 6 inclusive. the program should read from stdin as many english words as there are available. each word is promised to consist of from 3 to 20 lower case English characters and occupies a separate input line. use pthread to create n threads to count how many of these words contain "ea" as a subword. for example, the word peaceful contains "ea" as a subword but the word butterfly does not. The program should start the task of finding and counting matching and put words after all the input words have been received from the user in this task should be divided among the created n threads as evenly as possible. in the end the program should print the number of input words and the number of matching words found.

+1
Answers (1)
  1. 6 August, 06:44
    0
    gsdfsddgsddf dsd sdggfgf gfggffgdfgfgfgf
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a C or C program E2p1. c (pp) that accepts one command line argument which is an integer n between 2 and 6 inclusive. the program ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers