- 1
[DUPLICATE] What is mean % define it
2 Answers
+ 3
modulus operator:it returns the remainder in divisions.
5%3=2
3%5=3
2%2=0
6%5=1
+ 2
1.25= .5*2(=1)+.25
hence,
1.25 divided by .5, quotient is 2 and .25 isn't divided by .5 so it is remainder.
above term is expressed by modulus sign (%),where % shows only remainder,not shows quotient.
it is expressed by
5%2 = 1
11%4 = 3
12%7 = 5
1.25%.5 = .25