Wipro interview question

Write a program to count words in the string