Answer:
Let B be the number of balls Brandon had initially, and C be the number of balls Cody had initially.
We know that Brandon had 40% more balls than Cody, so:
B = 1.4C
We also know that Brandon gave 30% of his balls to Cody, so Cody received:
0.3B
And we know that Cody gave 50% of his balls to Brandon, so Brandon received:
0.5(0.3B) = 0.15B
Now, we can set up an equation to represent the final number of balls Cody had:
C + 0.3B - 0.5(0.3B) = C - 0.15B
And we know from the problem that Cody had 852 less balls than Brandon in the end, so:
C - 0.15B = B - 852
We can substitute B = 1.4C into this equation to get:
C - 0.15(1.4C) = 1.4C - 852
Simplifying this equation, we get:
0.79C = 852
Solving for C, we get:
C = 1078
And since B = 1.4C, we have:
B = 1.4(1078) = 1511.2
So Brandon initially had 1511 balls. However, since we're dealing with whole numbers of balls, we need to round to the nearest integer. Therefore, the final answer is:
Brandon initially had 1511 balls
Explanation:
add me on sn ap = m_oonlight781