Go Program to Print Right Triangle of Numbers in Reverse

Write a Go program to print the right angled triangle of numbers in the reverse order using for loop.

package main

import "fmt"

func main() {

	var i, j, row int

	fmt.Print("Enter Right Triangle of Numbers in Reverse Rows = ")
	fmt.Scanln(&row)

	fmt.Println("Right Triangle of Numbers in Reverse Order Pattern")

	for i = row; i >= 1; i-- {
		for j = row; j >= i; j-- {
			fmt.Printf("%d ", j)
		}
		fmt.Println()
	}
}
Go Program to Print Right Triangle of Numbers in Reverse