golang power
package main
import "fmt"
func main() {
// Step 1: Declare variables
var sum, num1, num2 int
// Step 2: Prompt user for input
fmt.Print("Enter the first number: ")
fmt.Scan(&num1)
fmt.Print("Enter the second number: ")
fmt.Scan(&num2)
// Step 3: Calculate the sum
sum = num1 + num2
// Step 4: Display the result
fmt.Printf("Sum of %d and %d is %d\n", num1, num2, sum)
}