View Code of Problem 74

import java.util.Scanner;
public class Main {
	public static void main(String[] args) {	
		Scanner scan = new Scanner(System.in);
		double x = scan.nextDouble();
		System.out.println(String.format("%.3f", Math.sqrt(x)));
		scan.close();
		}
}

Double click to view unformatted code.


Back to problem 74