Advertisement
Guest User

Untitled

a guest
May 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. package Domace_NaLoge;
  2.  
  3. public class KompleksnoTest {
  4.  
  5.     /**
  6.      * @param args
  7.      */
  8.     public static void main(String[] args) {
  9.         Kompleksno a= new Kompleksno(3,4);
  10.         Kompleksno b= new Kompleksno(4,5);
  11.         Kompleksno c=new Kompleksno();
  12.        
  13.         a.pristej(b);
  14.         a.izpisi();
  15.        
  16.         c=Kompleksno.zmnozi(a, b);
  17.         System.out.println(c.re+" "+c.im);
  18.        
  19.        
  20.     }
  21.    
  22.        
  23.        
  24.    
  25.        
  26.        
  27.    
  28.    
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement