i need to create a ball bounce program where the ball would be of a user defined radius, it would bounce inside a rectangle of user defined length and breadth and it would start by falling from the center of the box at a certain angle. the box would be at the center of the screen. the number of bounces will also be user defined. can anyone please provide some ideas for this....would be very grateful

I need some help with doing some calculations of 1/2 and 1/3. This involves usage of counter. Contact me for more info. Thanks!