Advertisement
ljukk

Untitled

Dec 14th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1. package javaapplication61;
  2.  
  3. /**
  4.  *
  5.  * @author sused
  6.  */
  7. public class Kinosala {
  8.  
  9.     /**
  10.      * @param args the command line arguments
  11.      */
  12.     public static void main(String[] args) {
  13.        
  14.         boolean kinosala[][] = new boolean[7][7];
  15.         JKinosala.VyprazdniKino(kinosala);
  16.         JKinosala.ZobrazKino(kinosala);
  17.          if( JKinosala.JeVolne(kinosala, 5, 5))
  18.              System.out.println("Je volne miesto: ");
  19.          else
  20.              System.out.println("Nie je volne miesto: ");
  21.          JKinosala.PosadSa(kinosala, 5, 5);    
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement