Computer Science, asked by karan758, 11 months ago

Write a Java expression for the following:
| x2+2xy |​

Answers

Answered by Siyalottey
20

Answer:

double s=Math.abs((x*x)+(2*x*y));

for it is given modulus...so we are using Math.abs()

to give out the absolute value

Answered by Dhruvjaganath
19

Answer:

double s = Math.abs((X*X)+(2*X*Y));

To give out the absolute value

Hope you got your answer

plzz mark me as brainliest

Similar questions