diff --git a/Course 1 - Introduction to JAVA/Lecture 6 - Patterns 2/InvertedTriangleNum.java b/Course 1 - Introduction to JAVA/Lecture 6 - Patterns 2/InvertedTriangleNum.java index a8f4796..6f4835d 100644 --- a/Course 1 - Introduction to JAVA/Lecture 6 - Patterns 2/InvertedTriangleNum.java +++ b/Course 1 - Introduction to JAVA/Lecture 6 - Patterns 2/InvertedTriangleNum.java @@ -37,26 +37,16 @@ Integer N (Total no. of rows) import java.util.*; -public class InvertedTriangleNum { +public class Solution { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N=scan.nextInt(); - for (int i=0;i0; i--){ + for(int j=0; j