/ Published in: Java
Expand |
Embed | Plain Text
import java.io.Serializable; { private static final long serialVersionUID = 1L; { try{ if(!obtenerDC(bancoSucursal).equalsIgnoreCase(dc.substring(0, 1)) || !obtenerDC(cccCuenta).equalsIgnoreCase(dc.substring(1, 2)) ) return false; return false; } return true; } int[] valores = new int[]{1, 2, 4, 8, 5, 10, 9, 7, 3, 6}; int control = 0; for (int i=0; i<=9; i++) control = 11 - (control % 11); if (control == 11) control = 0; else if (control == 10) control = 1; } }
You need to login to post a comment.
