Sunday, July 12, 2009

What does this mean in C programming: if(rand%2==0),...?

rand is set as a random number.

What does this mean in C programming: if(rand%2==0),...?
If the result is an even number


{


do what you have to do;


}
Reply:if (rand is divisible by two with no remainder)
Reply:If rand is an even number, then...

song downloads

No comments:

Post a Comment