java program
//Java Program to Calculate the square root of a number
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
//Take input from the user
//Create an instance of the Scanner class
Scanner sc = new Scanner(System.in);
System.out.println("16:");
int num = sc.nextInt();
Double squareroot = Math.pow(num, 0.5);
System.out.println("The Square Root of the Given Number " + num + " = " + squareroot);
}
}