Square root of a number using log | Java program to demonstrate finding square root of a number using sqrt ( )
import java . io . * ; class GFG { public static void main ( String [ ] args ) { double n = 12 ; System . out . println ( Math . sqrt ( n ) ) ; } }