ofekkfir

funcs 1

Dec 10th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. import java.util.*;
  2. public class Main
  3. {
  4.     static Scanner reader = new Scanner (System.in);
  5.  
  6.     /**
  7.      * @param args
  8.      */
  9.     public static void main(String[] args)
  10.     {
  11.         int x = reader.nextInt();
  12.         int y = reader.nextInt();
  13.         int dist = reader.nextInt();
  14.         Point p1 = new Point (x, y, dist);
  15.         System.out.println(p1);
  16.     }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment