Go Program to Add Two Numbers

In this Go program, we declare two integer values and then add those two numbers. package main import “fmt” func main() { var sum int num1 := 10 num2 := 25 sum = num1 + num2 fmt.Println(“The Sum of num1 and num2 = “, sum) } This golang program allows user to enter two integers … Read more