import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int x=scanner.nextInt(); System.out.printf(String.format("%.3f",Math.sqrt(x))); } } |
Double click to view unformatted code.