Computer Science, asked by rinkuramtanti, 7 hours ago

Print the sum and product of 6, 9 and 10 using java language
please give correct answer and no spamming!

Answers

Answered by prajyotprasad
0

Answer:

I am giving the method to do it

Explanation:

If the pair is (x, y)

Given that product

   P = x * y

   y = P / x;  (eq.. 1)

Given that sum  

   S = x + y

   S = x + (P / x)  from (eq..1)

   x2 - Sx + P = 0

Similar questions