Computer Science, asked by bhoomibansal07, 6 months ago

evaluate the following expression given:
x=10, y= -10, i=0
x=x%y​

Answers

Answered by anindyaadhikari13
4

Answer:-

Given,

x=10, y=-10

x=x%y

Or,

x=10%-10

=0(as 10 divided by -10 gives remainder as 0)

So, the value of x is 0.

Answered by BrainlyProgrammer
2

Answer:

x=x%y

=10%-10

=0. //when 10 is divided by 10....remainder is zero

Similar questions