+ 3
How can I make a program of n th root of any number in Java.
3 Respostas
0
I entered 343 and 3 . it displayed an answer 6.999
+ 10
System.out.println(Math.pow(x, 1.0 / n));
prints nth root of x.
+ 3
Using math functions may help you...good luck...