Computer Science, asked by nikita3475, 4 months ago

find x+=++x%y; if x= 9,y=5. ​

Answers

Answered by dewanibhavik5
0

Answer

∣y∣=x−1

since ∣y∣ is always positive

x−1 will always be a positive number

That means x is always greater than equal to 1

so now the equations become

x+2+y=5...(1)

x−y=1...(2)

solving (1) and (2) we get,

x=2 and y=1

⇒x+y=2+1=3

Similar questions