List all the substrings of length 3 of the string “alphabet”.
Write a program that reads a character string of maximum length 50 and prints all
substrings of length 3. If you cannot think of anything better, use as input data
"These are the times that try our souls."
The output from this sample input should be
The
hes
ese
.
uls
ls.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here