Code:
#include <stdio.h>
main()
{
char buff[2];
int odd =1;
int count =1;
int flag =0;
int even =2;
int p[2], pid1, pid2, pid3;
pipe(p);
pid1 = fork();
pid2 = fork();
pid3 = fork();
while(count < 21)
{
if (( pid1 > 0 )&&(
Leave a comment: