#C91. Find the Shortest Word Length
Find the Shortest Word Length
Find the Shortest Word Length
Given a string of words separated by single spaces, your task is to determine the length of the shortest word in the string.
The string will contain at least one word. Words are defined as sequences of non-space characters.
For example, given the string "bitcoin take over the world maybe who knows perhaps"
, the shortest word length is 3.
Your solution should read input from standard input (stdin) and output the result to standard output (stdout).
inputFormat
The input consists of a single line containing a string of words separated by a single space.
outputFormat
Output a single integer representing the length of the shortest word in the input string.
## samplebitcoin take over the world maybe who knows perhaps
3