Go Program to Print Inverted Right Triangle of Column Numbers in Reverse

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

package main

import "fmt"

func main() {

	var i, j, row int

	fmt.Print("Enter Inverted Right Triangle of Col Num in Revrese Rows = ")
	fmt.Scanln(&row)

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

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