P0 / | \ P1 P2 P3 etc.
P0 / | \ P1 P2 P3 etc.
P0 --> P1 --> P2 --> P3
Sample Output
Enter a value: 37
Process 0 got value 37.
Process 13 got value 37.
Process 8 got value 37.
Process 1 got value 37.
Process 2 got value 37.
Process 4 got value 37.
Process 10 got value 37.
Process 6 got value 37.
Process 9 got value 37.
Process 5 got value 37.
Process 12 got value 37.
Process 7 got value 37.
Process 11 got value 37.
Process 3 got value 37.