Pattern program 7 on May 08, 2015 Get link Facebook X Pinterest Email Other Apps public class pattern7 { public static void main( String arg[]){ for(int i=1,r=5;i<=5;i++,r--) { for(int j=1;j<=r;j++) { System.out.print(j); } System.out.println(); } } } Comments
Comments
Post a Comment