Answers for "java code for square root"

6

square root of a number in java without sqrt

Scanner in=new Scanner(System.in);
int num=in.nextInt();
Systen.out.println(Math.pow(num,0.5));
Posted by: Guest on August-20-2020
0

java code for square

int square = Math. pow(i, 3);
Posted by: Guest on March-10-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language