diff --git a/Retos/Reto #30 - EL TECLADO T9 [Media]/java/masdos.java b/Retos/Reto #30 - EL TECLADO T9 [Media]/java/masdos.java index 774533abc8..e86b1f5fb0 100644 --- a/Retos/Reto #30 - EL TECLADO T9 [Media]/java/masdos.java +++ b/Retos/Reto #30 - EL TECLADO T9 [Media]/java/masdos.java @@ -18,6 +18,10 @@ */ public class masdos { + public static void main(String[] args) { + System.out.println(translateT9Code("6-666-88-777-33-3-33-888")); + } + public static String translateT9Code(String t9Code) { if (!t9Code.matches( "^(0|([2-58])\\2{0,2}|([679])\\3{0,3})(-(0|([2-58])\\6{0,2}|([679])\\7{0,3}))*$")) {