#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
char res;
char nombre[25];
do
{
cout<<"dame tu nombre"<<endl;
gets(nombre);
cout<<"hola como estas "<<nombre<<endl;
cout<<"nnn Para continuar intro S/Nnn"<<endl;
cin>>res;
}
while((res=='s')||(res=='S'));
system("pause");
return 0;
}