Answer :
Final answer:
Cody made a greater percentage of their shots with a success rate of 90%.
Explanation:
Percentages are used to compare the number of baskets made to the total shots taken. Deshawn made 24 baskets out of 30 shots, while Cody made 18 baskets out of 20 shots. To find the percentage made by each player, divide the given number of baskets by the total shots, then multiply by 100.
Calculations:
Deshawn: (24/30) * 100 = 80%
Cody: (18/20) * 100 = 90%
Therefore, Cody made a greater percentage of their shots, with a 90% success rate compared to Deshawn's 80%.