how to find any root of a number in java code example
Example: how to do 4th root java
import java.io.*;import
java.util.Scanner;import
java.lang.*;
class FourthRoot
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
double p,a=10;
p=Math.pow(a,(0.25));
System.out.println("Fourth Root "+p);
}
}