A ball is dropped from a height of with a rebound ratio of %. After bounces, how far has the ball travelled Practice Problem

<-- Enter height of the drop
% <-- Enter Rebound Ratio Percentage
<-- Enter number of bounces

The following practice problem has been generated for you:
A ball is dropped from a height of 17 with a rebound ratio of 74%. After 10 bounces, how far has the ball traveled in a downward motion?