Your program's doing exactly what you told it to...
You input the name.
The name is Christian, so it does the stuff in the while loop.
Then, it returns 0 (quits the program).
I think this'll do more what you want.
Code:
#include <fstream.h> //Why are you including this?
#include <string.h>
#include <conio.c>
char response [10]; //Response is a character array to store the input.
int main()
{
while((response != 'q') && (response != 'Q'))
{
cout << "\n Input the name Christian, Valerie, or Olivia to see their age. (q to quit)\n";
cin >> response;
if(strstr(response,"Christian")!=NULL)
cout << response << " is 20 years old.\n";
if(strstr(response,"Valerie")!=NULL)
cout << response << " is 15 years old.\n";
if(strstr(response,"Olivia")!=NULL)
cout << response << " is 8 years old.\n";
}
getch();
return 0;
}