Allow the main process to generate a text file containing thetext of this assignment.
The main process will then create two other processes and passto them the name of the file and two codes (code1 and code2) usinga pipe() system call. The codes are two different alphabeticletters such as “a” and “k”.
The child processes should search the file for the character inthe interval received, compute their frequencies and return themthrough a separate pipe to the parent process.
The parent process should compute the total number of charactersin the file, and the rate of the appearance of the characterfrequencies received from the two child process, through separatepipes.
The parent process should then form a table of alphabeticcharacters and their frequencies and print the table in a properformat on the screen.
Hint: You are expected to use fork(), pipe(),read(), write(), close(), waitpid(), and other appropriate systemcall, if needed.