Welcome to CSC200 Lab 4
Consider exercise 6 on page 138. Write a C++ program that takes the string
Dwight Norman Peterson
stored in the variable
biblemanand outputs each part of the name seperately as follows:
First name: Dwight Middle name: Norman Last name: Peterson
Your program should be able to take any three-word name for
biblemanand produce the analogous result. That is if
bibleman = "Walter Blake Huddell"your script should output:
First name: Walter Middle name: Blake Last name: Huddell
Then, your program should output the length of each of the names. So a complete output should appear as:
First name: Dwight Middle name: Norman Last name: Peterson Length of first name: 6 Length of middle name: 6 Length of last name: 8