Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class Run {
  3.  
  4. public static void main(String[] args) {
  5.  
  6. ElipseInRectangle x = new ElipseInRectangle();
  7. ElipseInRectangle y = new ElipseInRectangle(100,100);
  8. ElipseInRectangle z = new ElipseInRectangle(200,200,15,15);
  9. y.Move(150,200);
  10.  
  11. Scanner in = new Scanner(System.in);
  12. System.out.printf("Zadejte hodnotu minX: ");
  13. int minX = in.nextInt();
  14. System.out.printf("Zadejte hodnotu maxX: ");
  15. int maxX = in.nextInt();
  16. System.out.printf("Zadejte hodnotu minY: ");
  17. int minY = in.nextInt();
  18. System.out.printf("Zadejte hodnotu maxY: ");
  19. int maxY = in.nextInt();
  20.  
  21.  
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement