Computer Science, asked by bladepro38, 12 hours ago

flowchart of counting the words in a sentence​

Answers

Answered by MichhDramebaz
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