Let's take a look at just one while-loop:
Code:
while(strstr(response,"Christian")!=NULL)
{
cout << response << " is 20 years old.\n";
getch();
return 0;
}
When entering this loop. It will print the output string and the response, then it will wait untill you press a key and then it returns 0. In other words, it prints something and after you've pressed a key, the program will finish.
By the way, I do not really see the meaning of strstr. It seems to me that you're comparing strings. In that case I would recommend using strcmp, a function which is written with the purpose to compare strings.