English

Write a Java Expression for the Following : |X2+2xy| - Computer Applications

Advertisements
Advertisements

Question

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

One Line Answer

Solution

Math.abs((x * x) + (2 * x * y))

shaalaa.com
Introduction of Input in Java
  Is there an error in this question or solution?
2018-2019 (March) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×