Computer Science, asked by josephsonmathew67, 4 months ago

Write equalent java statements using Math functions. Store the value -125 in a variable and print its cube root​

Answers

Answered by kamalrajatjoshi94
1

Answer:

public class Java

{

public static void main(String args[])

{

int a= -125,b=0;

b=Math.cbrt(a);

System.out.println("The cube root of -125="+b);

}

}

Similar questions