import java.io.*;
class xyz
{
public static void main(String args[])throws Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double x;
double y;
System.out.println("Enter a number =");
x=Double.parseDouble(br.readLine());
y=Math.sqrt(x);
System.out.println("The Square root is ="+y);
}
}
class xyz
{
public static void main(String args[])throws Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double x;
double y;
System.out.println("Enter a number =");
x=Double.parseDouble(br.readLine());
y=Math.sqrt(x);
System.out.println("The Square root is ="+y);
}
}
Comments
Post a Comment