Given four integers length, width, height, and mass representing the dimensions and mass of a box, categorize the box based on the following criteria:
The box is "Bulky" if at least one of the following conditions is met:
Any dimension of the box (length, width, or height) is greater than or equal to
The volume of the box is greater than or equal to
The box is "Heavy" if its mass is greater than or equal to
Categorize the box according to these rules:
If the box is both "Bulky" and "Heavy", return "Both".
If the box is neither "Bulky" nor "Heavy", return "Neither".
If the box is "Bulky" but not "Heavy", return "Bulky".
If the box is "Heavy" but not "Bulky", return "Heavy".
Note: The volume of the box is calculated as $ ext{volume} = ext{length} imes ext{width} imes ext{height}$.
Constraints:
length, width, height
mass
Given four integers length, width, height, and mass representing the dimensions and mass of a box, categorize the box based on the following criteria:
The box is "Bulky" if at least one of the following conditions is met:
Any dimension of the box (length, width, or height) is greater than or equal to
The volume of the box is greater than or equal to
The box is "Heavy" if its mass is greater than or equal to
Categorize the box according to these rules:
If the box is both "Bulky" and "Heavy", return "Both".
If the box is neither "Bulky" nor "Heavy", return "Neither".
If the box is "Bulky" but not "Heavy", return "Bulky".
If the box is "Heavy" but not "Bulky", return "Heavy".
Note: The volume of the box is calculated as $ ext{volume} = ext{length} imes ext{width} imes ext{height}$.
Constraints:
length, width, height
mass