Yes.
A more realistic program would allow the user to enter the name to look up. But in this program, the user would have to enter the target name exactly correct. Even upper and lower case letters much be correct. A better program would allow inexact matches, but this is more complicated.
You have reached the end this chapter. You may wish to search through the following topics for something of interest.