Write a c program with 3 processes the parent process A reads a number k.child process b computes for fibonaci?

Update: its a c/c++ program.i cannot pass values from process A so that process B could compute for the Fibonacci sequence.also.process C should compute for the facotial (k+1) and then write it to a answer.txt using fstream.can anyone show me how this can be done using a parent(A),child(B),and grandchild(C) process??
3 answers 3