The original code was written in spanish (my native language) and I translated to english, let me know your particular problem with the code and I will change it.
None of it appears to be translated to English apart from the messages displayed to the user. Without comments in your code and especially when you abbreviate variable names, it's difficult to visually scan the code and have any idea what's going on. You have to mentally process the program to try and reason about what any variables or functions are actually doing.