Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1.                 case 4:
  2.                     System.out.println("\n\nListe des voitures actuelles: " + v.length + " : ");
  3.                     for(int i = 0; i < v.length; i++)
  4.                         System.out.println(i + " " + v[i].toString());
  5.  
  6.                     System.out.print("\n\nQuel voiture voulez-vous supprimer (0 a " + v.length + "): ");
  7.                     choixSupression = s.nextInt();
  8.                     if(choixSupression > v.length || choixSupression < 0)
  9.                         System.out.println("Choix invalide");
  10.  
  11.                     v = effaceElementArray(v, choixSupression);
  12.  
  13.                     break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement