Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 3
What will be the java expression
What will be java expression of |x²+2xy|
2 Réponses
+ 3
| | --> Maths.abs()
x^2 --> Math.pow(x,2)
int a = (int) Math.pow(x,2);
int b = (int)Math.abs(a + 2*x*y);
+ 1
Why | | used as Math. Abs()