For this Question: Print a right angled triangle of stars of given height N as shown in example.The input contains a single integer N.

<b>Constraints:-</b>
1 &le; N &le; 10Print the Right angled triangle of height N.Sample Input:-
3

Sample Output:-
*
**
***

Sample Input:-
4

Sample Output:-
*
**
***
****, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
    public static void main (String[] args)throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
       for(int i =1;i<=n;i++)
       {
         for(int j=1;j<=i;j++)
           {
                 System.out.print("*") ;
           }
           System.out.println();
       }
    }
}


, In this Programming Language: Java, Now tell me if this Code is compilable or not?