Skip to content

Instantly share code, notes, and snippets.

Created September 9, 2022 16:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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: ");
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