└── README.md /README.md: -------------------------------------------------------------------------------- 1 | public class DownwardTrianglePattern 2 | { 3 | public static void main(String[] args) 4 | { 5 | int rows=7; 6 | for (int i= rows-1; i>=0 ; i--) 7 | { 8 | for (int j=0; j<=i; j++) 9 | { 10 | System.out.print("*" + " "); 11 | } 12 | System.out.println(); 13 | } 14 | } 15 | } 16 | --------------------------------------------------------------------------------