Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public float verificar (int x1, int x2,int y1, int y2){
- float resul;
- resul=(float) Math.sqrt(Math.pow(y2-y1, 2)+ Math.pow(x2-x1, 2));
- return resul;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement