cours-info/Iban.java
2019-06-16 14:28:14 +02:00

25 lines
528 B
Java

import static utils.Utils.*;
public class Iban {
public static final void main(String[] args) {
String[] inputs = new String[] {
"FR7640618802770004064892182",
"FR7610807004896241909471914",
};
for (String input : inputs) {
char[] inputChar = input.toCharArray();
if (verifIban(inputChar)) {
afficher("IBAN correct: ", input);
} else {
afficher("IBAN incorrect: ", input);
}
}
}
public static boolean verifIban(char[] iban) {
return false;
}
}