horizontally, as shown in the pic with velocity for the .Cody (yellow) threw a
The point from where he throws it is above the ground.
The two buildings in the pic are apart. His chocolate strikes the opposite building (of course the lady doesn't get it) and at the very instant, all ladies close their windows. So his chocolate falls on the ground.
If the chocolate's speed is not affected by the collision with the building, how many times does the chocolate strike the walls of those buildings before it reaches the ground ?
Details and assumptions
Acceleration due to gravity
Cody's chocolate undergoes smooth collisions, it doesn't change the speed by the collision . The only force acting is gravity.
You have to find the number of times chocolate hits the walls , i.e. after those many collisions, before the next one, it will hit the ground.