Let's take a look at just one while-loop:
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.
cout << response << " is 20 years old.\n";
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.