Implement a system that consists of two processes; parent and child, communicates via Named pipe. The parent request the user to enter a sentence, then it will write this sentence into the pipe. The child reads this sentence, count the number of vowel letters in it, print the sentence on the screen and the number of vowels letters in it.
The output will be something like this
Parent process: Please enter a sentence: Welcome to OS lab Parent process: Write the sentence into the pipe.
Child process: Read Welcome to OS lab, number of vowels =6
You should give it your best shot to solve the problem before asking for help.
Share what you've done sore far. Ask specific questions if you're stuck and not for the whole solution provided for you.
You can search for how to use named pipes in C, there are plenty of tutorials around, such as this.
Writing IPC code is usually not portable(AFAIK) & needs to call platform specific functions to achieve this.
You are asking for code(looks like you are cutting corners ) ,but have not specified if it will run on windows,Linux (or other platform).
My suggestion would be to refer man pages on Linux machine you will get enough information to get started (man pipe or man popen on terminal).
Or look for Windows documentation online.