I promised myself I wouldn't make a joke about "yellow pool water", increasing the level of the water.
Another promise, down the ol' pool drain! ;)
Printable View
I promised myself I wouldn't make a joke about "yellow pool water", increasing the level of the water.
Another promise, down the ol' pool drain! ;)
Ok... a little more debugging... the problem is that distanceTraveled never hits *exactly* 35... a small modification to allow anything from 35.0 to 35.99999 solved the problem...
and here's the output...Code:if((int) distanceTraveled ==35)
{
poolWater=poolWater+balloonWater;
balloonNumHit++;
}
Attachment 10893
I'm thinking you can clean the rest of this up yourself???