I need help to Write a program in C which creates 3 child processes and wait for them to return.
Child 1 is to calculate and display the average of 10 integers input by the user (ie. the keyboard) . Child 2 is to load a program called "wc" to word count a file (let's call the file example.txt)
Child 3 is to create a copy of example.txt; at the beginning write "this is the updated version" and replace all the occurences of word "Me" with "Us".
Child 2 and 3 are required to get their files by the command line arguments.
I would really appreciate it, if someone out there could write me a working model of this problem. Much Appreciated