alejandrosuch on 05/05/10
Last Edited at 05/05/10 06:17am
public String calcularLetraDNI(int dni){ String[] letrasDNI = {"T", "R", "W", "A", "G", "M", "Y", "F", "P", "D", "X", "B", "N", "J", "Z", "S", "Q", "V", "H", "L", "C", "K", "E"}; return (letrasDNI[dni%23]);}
Report this snippet Tweet
Comment:
You need to login to post a comment.