Question: unix only working program without put looks like the one in the question. please follow the question and the output should look like the one

unix only working program without put looks like the one in the question. please follow the question and the output should look like the one that is provided in the question please.

dont copied the question from chegg i cheked them and they are not working right .

only using the signal mechanism system call (don't use wait() or pipe(), you may still need sleep()). You can still write or read to the disk. You should have one parent process and one child process only.

Your output should look this

x = 19530

ITERATION 1

Parent : x = 19525

Child : x = 3905

ITERATION 2

Parent : x = 3900

Child : x = 780

ITERATION 3

Parent : x = 775

Child : x = 155

ITERATION 4

Parent : x = 150

Child : x = 30

ITERATION 5

Parent : x = 25

Child : x = 5

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!