#Train Length and Weight
1 messages · Page 1 of 1 (latest)
So you know the default values for each cart type, and the locomotive. You need to seemingly System.out.println a formatted calculation.
Given you know how much of each cart type you have it's a matter of multiplication.
They've given you a hint for the pull capacity needed.
Start by calculating the total amount of weights for your carts, then you can determine how many locomotives you need.