const int NOME=100;
char resposta;
char nome[NOME];
int telefone;
do{
cout<<"Nome: "<<endl;
cin.getline(nome, NOME);
cout<<"Telefone: "<<endl;
cin>>telefone;
system("cls");
cout<<"VOCE GRAVAOU OS SEGUINTES DADOS: "<<endl<<nome<<endl<<telefone<<endl<<endl;
cout<<"QUER GRAVAR OUTRO CONTATO? \t(S) ou (N) "<<endl;
cin>>resposta;
}while(toupper(resposta)=='S');
vlww!