Question: Communication using pipes (an extension to part 3 in lab 5): Write a C program that creates 3 processes C1, C2 and C3: 3. C1

 Communication using pipes (an extension to part 3 in lab 5):

Communication using pipes (an extension to part 3 in lab 5): Write a C program that creates 3 processes C1, C2 and C3: 3. C1 will compute the sum of the numbers entered by user as arguments in the command line. C2 will compute the average of these numbers C3 will computer the variance of these numbers. Use pipes to allow C1 to send the sum it computed to C2 which can use it to compute the average. Then C2 sends the value of average to C3 that uses it to compute the value of variance. To test your code, use the following calculator: http://www.calculator.net/standard-deviation- Note: All labs are due before next week's lab starts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!