Program To Create Table of 11 to 20

/*   Program To Create Table of 11 to 20  */
import java.io.*;
class Tables
{
 public static void main(String[] arg)
 {
  for(int i=1;i<=10;i++)
   {
   
    for(int j=11;j<=20;j++)
    {
     System.out.printf("%3d |",(j*i));
    } 
   System.out.println(" ");
  }
  }
}

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|