Go program to find Square root of a Number

This Go program to find the Square root of a Number uses the built-in math sqrt function on the user given value. package main import ( “fmt” “math” ) func main() { var sqrtnum, sqrtOut float64 fmt.Print(“\nEnter the Number to find Square Root = “) fmt.Scanln(&sqrtnum) sqrtOut = math.Sqrt(sqrtnum) fmt.Println(“\nThe Square of a Given Number … Read more