Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void afficherParcours(Coordonnees[] parcours){
- for (int i = 0; i < parcours.length; i++) {
- System.out.println(parcours[i]);
- }
- }
- public static Coordonnees[] creerParcours(){
- System.out.println("Entrer la taille du parcoure (le nombre de coordonés)");
- int taille = scanner.nextInt();
- Coordonnees[] parcours = new Coordonnees[taille];
- for (int i = 0; i < parcours.length; i++) {
- parcours[i]=lireCoordonnees();
- }
- return parcours;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement