answersLogoWhite

0


Best Answer

Both arguments should be integer should be integer.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

6mo ago

When using the modulo operator in mathematics or programming, there is a restriction that the divisor (the number after the modulo operator) should be non-zero. A zero divisor would result in a division by zero error, which is undefined.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the restriction to be followed when using a modulo operator modulo operator?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you subtract when using ounces?

You use modulo 16 arithmetic.


Why does twelve plus one equal one?

Normally it does not. It only does if you are working with congruence numbers, modulo 12. That is a rather technical way of saying you are using "clock" arithmetic. There are other such examples: modulo 7 for days of the week modulo 2 for ON/OFF are another two that most people are familiar with, even if they don't know that they are using modulo arithmetic!


What is method call in java?

Calling a method in Java is when you run code associated with a specific class, using the name of an instance object of a class, followed by the dot operator, followed by the name of the method, followed by the arguments of the method, enclosed in parentheses.


How are large DNA molecules cut up?

by using restriction enzymes


What is the purpose of using modulo 2 arithmetic rather than binary arithmetic in computing an FCS?

Any arithmetic process would work provided it is applied the same way in the forward and reverse process. Modulo 2 is easy to implement in hardware.


How pointer is declared using address operator?

int *ptr; PS: I don't know what do you mean by 'using address operator'


How do we find remainder of two numbers by using addition subtraction multiplication and division?

The remainder of two positive integers can be calculated by first dividing one number (the dividend) by the other (the divisor) using integer division (ignoring any fractional component). Multiply this quotient by the divisor, then subtract the product from the dividend. The result is the remainder. Alternatively, while the dividend remains greater than the divisor, subtract the divisor from the dividend and repeat until the dividend is smaller than the divisor. The dividend is then the remainder.


Implement software restriction policy using some scripts?

dsdsdsa


How do you define power function without using operator?

using pow() function.. ..


How do you find the greatest of three numbers using ternery operator?

Compare the first two numbers with the ternary operator. Store the result in a temporary variable. Compare the temporary variable with the third number, again using the ternary operator.


DNA fingerprinting involves cutting DNA strands using which what?

Restriction enzymes


Is there an age restriction for children using an internet cafe?

cybercafe age limitation