Last active
April 17, 2022 03:25
-
-
Save HugoRoca/f0af087c48ae5f77622400b5ebbdd785 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
Algoritmo Vistony | |
Definir username, password Como Caracter | |
Definir longitudDocument Como Entero | |
Definir postulantNames, postulantBithDate, postulantDocumentType, postulantDocumentNumber, postulantPhoneNumber, postulantAgeExperience, postulantSalary, postulantVaccine, postulantCV Como Caracter | |
Escribir " *** BIENVENIDO A EMPLEO_VISTONY *** " | |
Escribir "Ingrese su usuario:" | |
Leer username | |
Escribir "Ingrese su contrasenia:" | |
Leer password | |
// TODO: Pendiente, implementacion de roles x usuario (admin, soloRegistro, soloLectura(consultar, reportes, estados, etc)) | |
Si username == "usuario1" & password == "123456" Entonces | |
Escribir "Ingrese los nombres completos del postulante: " | |
Leer postulantNames | |
Escribir "Ingrese fecha de nacimiento (dd/mm/yyyy): " | |
Leer postulantBithDate | |
Escribir "Ingrese el tipo de documento (CE, DNI): " | |
Leer postulantDocumentType | |
longitudDocument = 8 | |
Si postulantDocumentType == "CE" Entonces | |
longitudDocument = 12 | |
FinSi | |
Escribir "Ingrese el documento del postulante: (", longitudDocument, " digitos)" | |
Leer postulantDocumentNumber | |
Si Longitud(postulantDocumentNumber) <> longitudDocument Entonces | |
Escribir "El documento es invalido, se requieren ", longitudDocument, " digitos." | |
SiNo | |
Escribir "Ingrese el numero de celular: " | |
Leer postulantPhoneNumber | |
Escribir "Ingrese los anios de experiencia del postulant: " | |
Leer postulantAgeExperience | |
Escribir "Ingrese las espectativas salariales: " | |
Leer postulantSalary | |
Escribir "Tienes las 3 dosis contra la COVID-19, indicar SI o NO:" | |
Leer postulantVaccine | |
Escribir "Por favor, suba el CV del postulante: " | |
Leer postulantCV | |
Escribir "Subiendo..." | |
Escribir "Subiendo..." | |
Escribir "Subiendo..." | |
Escribir "Subiendo..." | |
Escribir "Registro completado!" | |
FinSi | |
SiNo | |
Escribir "Usuario o contrasenia incorrecta." | |
FinSi | |
FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment