Oh haha okay that makes sense! Yeah it's confusing :/
How would I figure out this part?
In general, limitations on luggage are based on weight and size, where size is measured by the sum of the three dimensions – length plus width plus height. The following are one carrier’s rules concerning baggage:
Charges:
• The cost of the first checked bag is $25.
• The cost of the second checked bag is $35.
• The cost of any additional checked bag(s) is $100 per bag.
Limitations:
• A bag over 50 lbs. is considered overweight and, if it can be checked, incurs a fee over and above the checked bag fee. An overweight charge of $100 is assessed if it weighs up to 70 lbs. If its weight exceeds 70 lbs. but is less than 100 lbs., the additional fee is $200. Bags over 100 lbs. cannot be checked.
• A bag is considered oversized if it exceeds 62 linear inches. The oversize fee (also added to the checked bag fee) is $100, as long as it does not exceed 115 linear inches. Bags larger than 115 linear inches cannot be checked.
Other considerations:
• Active military on personal travel have no charge on up to 3 bags, which can be up to 70 lbs. and 62 linear inches each. If on orders and travelling in economy, they can have up to 4 bags for free which can be up to 70 lbs. and 62 linear inches each. If they are on orders and travelling in business class, up to 5 bags are free and each can be up to 70 lbs. and 115 linear inches each.
• Anyone traveling in business class can have bags up to 70 lbs. without incurring an overweight fee.
• A traveler who is a member of the airline’s club at the lowest level is allowed one checked bag up to 50 lbs. with no fee; if above the lowest level, up to 3 bags free up to 70 lbs. each.
I've thought about something along the lines of like:
b1 = 25;
b2 = 35;
bp = 100;
and then
inches = 62;
overweight = 70;
1 2 3 4 5 6 7 8

if
inches <= 62;
bag is okay;
else
inches > 62 = overweight;
{
