Computer Science, asked by tasha45, 7 months ago

write a well java program to calculate the cube root,square root,power.​

Answers

Answered by mohitjoon13
1

Answer:

first mark me brainlist and.and 5 star

Answered by DHEERAJNIMESH
0

Answer:

import java.util.*;

public class Main

{

public static void main(String[] args)

{

Scanner in=new Scanner (System.in);

int a=2,b=3;

System.out.println("cube root is = "+Math.cbrt(a));

System.out.println("square root is = "+Math.sqrt(a));

System.out.println("power = "+Math.pow(a,b));

}

}

Similar questions