Creating a Simple-Reverse Triangle in C++

Creating a Simple-Reverse Triangle in C++

Logic Used –> j=i-1 –> j=2*(n-i)+1