-
-
Save parzibyte/3ff3aa2b092684eb3ba1af233a76eeb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void menuCrearUsuario(struct NodoDeCliente **nodo) | |
{ | |
char nombre[MAXIMA_LONGITUD_CADENA] = ""; | |
char identificacion[MAXIMA_LONGITUD_CADENA] = ""; | |
char correoElectronico[MAXIMA_LONGITUD_CADENA] = ""; | |
char palabraSecreta[MAXIMA_LONGITUD_CADENA] = ""; | |
char numeroCuenta[MAXIMA_LONGITUD_CADENA] = ""; | |
leerCadenaYAsegurarseDeQueNoEstaVacia(nombre, "Ingrese el nombre: "); | |
leerCadenaYAsegurarseDeQueNoEstaVacia(identificacion, "Ingrese la identificacion: "); | |
leerCorreoElectronico(correoElectronico); | |
leerPalabraSecreta(palabraSecreta); | |
rellenarCadenaConNumerosAleatorios(numeroCuenta, CANTIDAD_CIFRAS_NUMERO_CUENTA); | |
agregarNodoALista(nodo, nombre, identificacion, correoElectronico, palabraSecreta, numeroCuenta, SALDO_POR_DEFECTO, ESTADO_HABILITADO); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment