Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public double getLength()
- {
- if (length > width && length > height)
- length = length;
- return length;
- if (width > length && width > height)
- length = width;
- return length;
- if (height > length && height > width)
- length = height;
- return length;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement