/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.mycompany.ore;
 
/**
 *
 * @author szymc
 */
class punkt{
  public int x;
  public int y;
  float odleglosc(){
      double odleglosc = Math.sqrt(x*x+y*y);
      System.out.println(odleglosc);
      return 1;
  }

}
public class Main {
	public static void main(String []args) {
		punkt A = new punkt();
                A.x = 4;
                A.y = 3;
                System.out.println(A.x+" "+A.y);
                A.odleglosc();
                
	}
}