/** Affiche l' arguments recu en verlan a condition que toutes les syllabes soient formees de deux lettres */ public class Verlan { public static void main ( String [] arg ) { if (arg.length < 1) { System.err.println("aucun mot en parametre"); System.exit(1); } else { String mot= arg[0]; for ( int i=mot.length() ; i>=2 ; i=i-2 ) { System.out.print(mot.substring(i-2,i)); } System.out.println(); } } }