Advertisement
Guest User

MAIN

a guest
Nov 19th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. package sztucznainteligencja;
  2. import java.util.Scanner;
  3.  
  4. public class Main {
  5. public static final int MAX=5;
  6.  
  7. public static void main(String[] args) {
  8. Punkt zmienna = new Punkt();
  9. Punkt[] tablica = new Punkt [MAX];//tablica obiektów typu punkt
  10. Core wykonaj = new Core();
  11.  
  12. wykonaj.dataSetting(tablica);
  13. wykonaj.wyliczenie(tablica);
  14.  
  15. System.out.println("Całkowita droga wynosi: "+ Punkt.suma);
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. }
  38.  
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement