From 298af8b3b98dd7bd6b255c41f9160768de546df7 Mon Sep 17 00:00:00 2001 From: Meutel Date: Thu, 30 May 2019 21:38:31 +0200 Subject: [PATCH] Inversion variables, tableau --- InvTab.java | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ InvVars.java | 28 +++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 InvTab.java create mode 100644 InvVars.java diff --git a/InvTab.java b/InvTab.java new file mode 100644 index 0000000..85261a0 --- /dev/null +++ b/InvTab.java @@ -0,0 +1,58 @@ +import static utils.Utils.*; + +public class InvTab { + + public static final void main(String[] args) { + afficher("Inversion tableau"); + + + int[] tab = { 34, 568, 11, 678, 0}; + + afficherTabInt(tab); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +int[] tab2 = new int[tab.length]; +for(int compteur=0; compteur