Computer Science, asked by snigda1sunil2, 2 months ago

int result=70%7;
what will be the result ???​

Answers

Answered by BRAINstormerX352
1

Answer:

0  (zero)

Explanation:

Modulus (%) function gives the remainder of the expression.

Thus, as 70/7 = 10 and there is no remainder, result =0.

Thanks, have a great day ahead !

Answered by Diabolical
0

Answer:

The answer will be 0.

Explanation:

% (Modulus) operator is used to find reminder in any operation.

Thus, if we divide 70 by 7, the reminder will be 0.

Hence the answer will be 0.

That's all.

Similar questions