Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Eliminar contacto
Método Main
package agendatelefonica;
int nume;
char nombre;
int numero;
int edad;
Nodo sig;
int va;
int n;
int num;
int ed;
n = ac.IngresoN();
va= ac.IngreseNombre();
num = ac.IngresoTelefono();
ed= ac.IngresoEdad();
top.sig = null;
if(top == null){
top=tempo;
/*tempo.nombre = (char) n;
tempo.numero = num;
tempo.edad = ed;
tempo.sig = null;
*/
/*top=tempo.nombre;
top=tempo.numero;
top=tempo.edad;*/
Nodo tempo1= top;
while(tempo1 != null){
System.out.println(tempo1.nombre+" | ");
tempo1 = tempo1.sig;
Operaciones
package agendatelefonica;
import java.util.Scanner;
/**
* @author Usuario
*/
int valor;
do{
if (valor<=0)
}while(valor<=0);
return valor;
char nomb;
return nomb;
int telef;
do{
telef = leer.nextInt();
if(telef<=0)
}while(telef<=0);
return telef;
int eda;
do{
eda = leer.nextInt();
if(eda<=0)
}while(eda<=0);
return eda;
Run Proyect