Computer Science, asked by ben2038, 1 year ago

evaluate the value of the expression = 6-2+10%4+7​

Answers

Answered by anupama777vidya
31

Answer:

Perform modulus operation first..bcz it has got a higher priority.

6-2+2+7

4+2+7

13

Hope it helps


unknowngirl11: is it the correct answer
unknowngirl11: yeah it's correct
anupama777vidya: :)
Answered by Anonymous
1

Given:

Given expression = 6 - 2+ 10% 4 +7

To find:

The value of the given operation.

Solution:

Let us first start by operating the modulus symbol wherever its required. The modulus symbol gives the remainder when two numbers are operated. Thus the expression would become:

6 - 2+ 2 +7

Now, let us operate subtraction wherever its required, the expression would become:

4+ 2 +7

Now finally lets perform addition wherever its required:

= 13

Thus the value of the given expression is 13.

Similar questions