Now using the ball moving program write a progarm 

that will simulate the bouncing of a ball on the floor.

Drop the ball from a height and then make the bounce get less high with each bounce.

Eventually the ball will be still on the floor.