Advertisement
santiagoForland

segundo

Nov 23rd, 2012
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. public float verificar (int x1, int x2,int  y1, int y2){
  2.     float resul;
  3.        
  4.        
  5.        
  6.         resul=(float) Math.sqrt(Math.pow(y2-y1, 2)+ Math.pow(x2-x1, 2));
  7.    
  8.             return resul;  
  9.            
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement