Java Numeric Loop - 1.1

class numloop
{
 public static void main(String args[])
 {
  int i,j;
  for(i=3;i<=13;i+=2)
  {
   for(j=i;j>=1;j--)
   System.out.print(j%10);
   System.out.println();
  }
 }
}


The Output is Given Below:
321
54321
7654321
987654321
10987654321
3210987654321

2 comments:

Anonymous said...

valo hoise......

http://wowoverme.blogspot.com

FUN WITH PROGRAMMING said...

Thanks........

Post a Comment