Ritvik Gautam
Last Activity: 14 Years ago
No, the modulus function can never give a negative value.
Modulus function is basically,
which means if i put x= -5 ... then according to the above definations
the value of the function would be
-x
-(-5)
=5
Hence, a modulus can never return a negative value.
Please Approve by clicking "Yes" below!!