class Table
{
public static void main(String args[])
{
int a=2,b=1,c;
for(b=1;b<=10;b++)
{
c=2*b;
System.out.println("2 *"+b+"="+c);
}
}
}
{
public static void main(String args[])
{
int a=2,b=1,c;
for(b=1;b<=10;b++)
{
c=2*b;
System.out.println("2 *"+b+"="+c);
}
}
}
No comments:
Post a Comment