Share all news to all guy ;)

Saturday, December 20, 2014


          This code is show it a picture :)




 public static void main(String[] args) {
       
        for(int i=1;i<=7;i++)
        {
            for(int j=1 ; j<=i; j++)
                System.out.print(j + " ");
            System.out.println("");
        }
    }
   
}



0 comments:

Post a Comment

Popular Posts

Powered by Blogger.