Computer Science, asked by moparvej3943gmailcom, 1 year ago

make a java program by using math class pls fast

Answers

Answered by Anonymous
1
import java. util. Scanner;
import java. lang. *;
class brainly
{
public static void main(String args [])
{
int n, result;
Scanner sc=new Scanner(System. in);
System. out. println ("Enter the number");
n=sc. nextDouble ();
result=Math. sqrt (n)
System. out. println ("Result :"+result)
}
}

Mark as brainliest
Similar questions