Computer Science, asked by pammisinha415, 1 day ago

can anyone please solve this in java using scanner​

Attachments:

Answers

Answered by manuprajapati519
1

Answer:

import java.util.Scanner;

public class maths

{

public static void main(String args[])

{

Scanner in = new Scanner(System.in);

System.out.println("Please input the number");

double a=in.nextDouble();

double c=Math.sqrt((Math.cbrt((Math.sqrt((cube(a)))))));

System.out.println("Printing the answer "+c);

}

public static double cube(double x)

{

double q=x*x*x;

return q;

}

}

/*Hey friend, I have made this program in java to calculate the given operation in java..using Scanner class for taking input from user and print the following result..*/

Similar questions