Declare Array n function challenge

Can some help with this Challenge.

There are x number of sections in a course. In each section y number of quizzes are conducted. The average for each quiz in all the sections need to be found out. To solve this, write program which has the main process as Director process, which reads a file containing marks of all quizzes of all sections and creates x number of Manager processes. Each Manager process will take care of solving for a section. Each manager process will create y number of worker process and pass one quiz to each of them and they calculate and print the average.

Read x and y as input from the user. All quizzes are graded out of 20 points. Assume the number of students in all the sections is same and it is 10 per section. The input file should contain the data according to the value of x and y.
Topic archived. No new replies allowed.