Go program to Find Power of a Number

This Go program uses the math pow function to find the power of a number. To use this function, you have to import the math module. package main import ( “fmt” “math” ) func main() { var pnum, expo float64 fmt.Print(“\nEnter the Number to find the Power = “) fmt.Scanln(&pnum) fmt.Print(“Enter the Exponent Value = … Read more