20080921

int multiply (int x, int y)
{
return x * y;
}

int trips = 6;
float distance = 4.874;
int approxDistance = (int)distance;

int total = multiply ( trips, approxDistance );


so that's what the parentheses are for :)
lol, easier then expected

No comments:

Post a Comment