Ask Question
23 June, 15:37

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.

+2
Answers (1)
  1. 23 June, 16:30
    0
    gsdfsddgsddf dsd sdggfgf gfggffgdfgfgfgf
Know the Answer?
Not Sure About the Answer?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers