Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Domace_NaLoge;
- public class KompleksnoTest {
- /**
- * @param args
- */
- public static void main(String[] args) {
- Kompleksno a= new Kompleksno(3,4);
- Kompleksno b= new Kompleksno(4,5);
- Kompleksno c=new Kompleksno();
- a.pristej(b);
- a.izpisi();
- c=Kompleksno.zmnozi(a, b);
- System.out.println(c.re+" "+c.im);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement