#C5386. Find the Length of the Shortest Word
Find the Length of the Shortest Word
Find the Length of the Shortest Word
Given a string of space-separated words, your task is to compute the length of the shortest word in the string.
The string consists of only standard English letters and spaces. Ensure that you consider any number of spaces between words.
Example:
Input: "The quick brown fox jumps over the lazy dog"
Output: 3
inputFormat
The input is provided as a single line containing a string. The words are separated by one or more spaces.
outputFormat
Print an integer representing the length of the shortest word in the string.
## samplehello
5