public class SeqMemTraduit { public static void main(String []a) { int []memoire = new int[100]; // la variable i c'est l'entier numéro 0 de mémoire // la variable j c'est l'entier numéro 1 de mémoire int instruction = 1; while (true) { switch(instruction) { case 1: System.out.println("Bonjour"); instruction++; break; case 2: memoire[0] = 13; instruction++; break; case 3: System.out.println(memoire[0]); instruction++; break; case 4: memoire[0] = memoire[0]*23; instruction++; break; case 5: System.out.println(memoire[0]); instruction++; break; case 6: memoire[1] = memoire[0]+11; instruction++; break; case 7: System.out.println(memoire[1]); instruction++; break; case 8: System.exit(0); break; } // fin switch } // fin while } // fin main } // fin class