Solution for pseudocode of pattern

how to print the reversed numbers after printing the numbers equal to row count?

https://www.w3resource.com/cpp-exercises/for-loop/cpp-for-loop-exercise-49.php Refer this for the logic.