Write a program that takes a string containing a full name and outputs each part of the name separately with its length. The name should be in the form of first, middle, and last name, separated from each other by a single space. For example, if the name string contains
"John Jacob Schmidt"
Then the program output would be
First name: John Length: 4
Middle name: Jacob Length: 5
Last name: Schmidt Length: 7
The format should be clearly labelled and formatted neatly as above.