Computer Science, asked by hg958951, 3 months ago

What is the value of the following expression: 10%3

Answers

Answered by anindyaadhikari13
1

Answer:

  • The output of 10 % 3 is 1.

Explanation:

The modulo operator is used to find remainder obtained when a number is divided by another number.

Let's divide 10 by 3,

3 ) 10 ( 3

   - 9

  -------

     1

Therefore, 10 % 3 = 1.

Similar questions