Write a Go program to print the right arrow number pattern using for loop.
package main import "fmt" func main() { var i, j, row int fmt.Print("Enter Right Arrow Number Pattern Rows = ") fmt.Scanln(&row) fmt.Println("**** Right Arrow Number Pattern ****") for i = 1; i <= row; i++ { for j = 1; j <= row; j++ { if j < i { fmt.Printf(" ") } else { fmt.Printf("%d", j) } } fmt.Println() } for i = 1; i < row; i++ { for j = 1; j <= row; j++ { if j < row-i { fmt.Printf(" ") } else { fmt.Printf("%d", j) } } fmt.Println() } }