Problem:
my output is the following:

Enter the type of Person: S
Enter in a name: John Down
Enter the type of Person: Enter the type of Person:


The output I would like to see is.......