Online Go Compiler

package main import ( "fmt" "strconv" ) func main(){ var n int fmt.Print("Enter value of n: ") fmt.Scanf("%d", &n) t1 := fmt.Sprintf("%d", n) t2 := fmt.Sprintf("+%d%d", n, n) t3 := fmt.Sprintf("+%d%d%d", n, n, n) exp := t1 + t2 + t3 fmt.Println("Expression is: ", exp) n1, _ := strconv.Atoi(t1) n2, _ := strconv.Atoi(t2) n3, _ := strconv.Atoi(t3) fmt.Println("Computed expression is: ", n1+n2+n3) }