4. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
5. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
Input:
6. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
Input: A string with Ctrl-D
7. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
Input: A string with Ctrl-D
Output:
8. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
Input: A string with Ctrl-D
Output: Print the character count, word count, and line
count.
9. Assignment 1
WAP to count number of characters, words and lines
entered through stdin
Input: A string with Ctrl-D
Output: Print the character count, word count, and line
count.
Note: Code should exactly work like wc command.