/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package rootsquare1; import java.util.Scanner; /** * * @author sabbir */ public class RootSquare1 { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here double y; Scanner squa=new Scanner(System.in); System.out.println("Please Enter The Number Want To Root:"); double x = squa.nextDouble(); y=Math.sqrt(x); System.out.println("The root of:"+x+"="+y); } }