Practice String Test
Name _________________________


1.	Write a program that will read in a string from the keyboard with a first, middle and last name (all in one string) and will then print each one on a separate line.

Example

Enter a name John Paul Jones
John
Paul
Jones

2.	Write a program that will take a name and switch the order.
Enter a name Joe Smith
Name is now Smith Joe

3.	Write a program that will let you enter a sentence and then a word from the sentence and then another word and will then replace the first word in the sentence with the second.

Example

Enter a sentence Ramon is a nice young man.
Enter a word young
Enter a word old
New sentence is 
Ramon is a nice old man.