I need to write the following program for a client and can't figure out how to do so. It can be done in C++ or Java, whichever you are more comfortable with. I need This program within the next 3 hours so I need to hire someone willing to work fast and immediately. Here is the program I need written:
Write a Java (or C++) program using fork() to compute average of N numbers. The parent process forks a child process that takes input from the user, adds all the numbers and returns the sum and the count of numbers to the parent process that divides the sum by the count of the number, and prints out the average.