Ask Question
8 April, 03:43

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.

+3
Answers (1)
  1. 8 April, 04:01
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers