Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1.     public double getLength()
  2.     {
  3.         if (length > width && length > height)
  4.             length = length;
  5.         return length;
  6.  
  7.         if (width > length && width > height)
  8.             length = width;
  9.         return length;
  10.  
  11.         if (height > length && height > width)
  12.             length = height;
  13.         return length;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement