Computer Science, asked by lalithaumnabadi, 10 months ago

7.g) Write the java expression for:
result = (a2 + b2)/(x+y)​

Answers

Answered by manuprajapati519
0

Answer:

result = ((a*2)+(b*2))/(x+y);

Explanation:

This is the way to write the expression in Java, the reason is compulsory to put brackets in expression otherwise the computer will be confused and will show wrong output as it would be a Logical Error.

Please mark my answer as Brainliest

Similar questions