Computer Science, asked by zainaba17, 6 months ago

write the purpose and syntax of MOD ()​

Answers

Answered by Imblank
1

Answer:

Mod() used for modulus operator(%) in old languages like fortran

Mod(4,26) = 2

4%26 = 2

Answered by HiFiRanjha
1

Answer___

b = mod( a , m ) returns the remainder after division of a by m , where a is the dividend and m is the divisor. This function is often called the modulo operation, which can be expressed as b = a - m. *floor(a./m) . The mod function follows the convention that mod(a,0) returns a .

❤️Mark my answer as brainliest.

Similar questions