Write a C program to Count the Lines, Words and Characters in a given text *Write a C program to count the lines, words and characters in a given text. *At the time of execution, the program should print the following message on the console as: *Enter lines of text (enter END to complete) For example, if the user gives the input as: Enter lines of text (enter END to complete) CodeTantra developed a Robotic tool In the year 2016 END then the program should print the result as: Character = 51, Words = 9, Lines = 2 Note: Do use the printf() function with a newline character (\n) at the end
P
Pavani M
@Pavani M