write a java program to find a sqare root and cube root of the number
Answers
Answered by
0
Answer:
sqrt(double s) method of Math class can be used to find the square root of the double or int value. cbrt(double c) method of Math class can be used to find the cube root of the double or int value. Both the methods are static, so it can be called directly using class name without creating object.
Explanation:
it will help u..
Answered by
1
sqrt(double s) method of Math class can be used to find the square root of the double or int value. cbrt(double c) method of Math class can be used to find the cube root of the double or int value. Both the methods are static, so it can be called directly using class name without creating object.
Similar questions
Computer Science,
3 months ago
Chemistry,
3 months ago
Math,
7 months ago
Physics,
7 months ago
History,
11 months ago
Environmental Sciences,
11 months ago