Write program with requirement:
- Use “pipe.c” as template with parent and child process. - Parent process:
- Display “[parent] Enter string: ” on screen
- Read one string from keyboard as input string
- Send input string to child by pipe
- If input string is “exit”, then terminate itself after child is terminated
- Chile process:
- Wait for input string, from parent by pipe
- Display input string on screen
- if input string is “exit”, then terminate itself