xxxxxxxxxx
package main
import ("fmt")
func main() {
/* creates a variable
to store the salary of the employee
*/
salary := 30000
fmt.Println("Salary:", salary)
}
xxxxxxxxxx
package main
import ("fmt")
func main() {
// declare a variable
age := 25
// print the variable
fmt.Println("Age is", age)
}