flowchart of counting the words in a sentence
Answers
Answered by
1
Answer:
. Take a string as input and store it in the array s[].
...
C Program to Count Number of Words in a given Text or Sentence
Take a string as input.
Using for loop search for a empty space in between the words in the string.
Consecutively increment a variable. This variable gives the count of number of words.
Similar questions
English,
6 hours ago
Environmental Sciences,
6 hours ago
English,
6 hours ago
Political Science,
12 hours ago
Math,
12 hours ago
Math,
8 months ago
English,
8 months ago