Competitions
Lesson 6. October 8 - 14. Char arrays
Length of words
Given text - sequence of words. Find the length of each word.
Input
Text contains sequence of words. The length of each word is no more than 20.
Output
For each word print in one line its length.
Input example #1
Programming Principles 1
Output example #1
11 10 1
Input example #2
I like C very much
Output example #2
1 4 1 4 4