Add Code Here/JAVA/numberRightAngleTriangle.java
import java.io.*;


public class GeeksForGeeks
{
	
	public static void printNums(int n)
	{
		int i, j,num;

		
		
		for(i=0; i<n; i++)
		{
			
			num=1;

			
			
			for(j=0; j<=i; j++)
			{
				
				System.out.print(num+ " ");

				
				num++;
			}

			
			System.out.println();
		}
	}

	
	public static void main(String args[])
	{
		int n = 5;
		printNums(n);
	}
}
