Monday, January 9, 2012

What is the value of 6/4?

Here, we have an integer being divided by an integer. When this occurs, if both operands are negative or positive, the fractional part of the quotient is discarded. Therefore, 6/4 is not equal to 1.5. It is equal to 1.

No comments:

Post a Comment