class aa
{
public static void main(String[] args)
{
bb(7,7);
aa();
hh();
bb(6,6);
cc(100);
aa();
int x=jb(1,2);
int y=jb(1,2,3);
System.out.println(x+""+y);
aa();
jj(9);
}
public static void bb(int a,int b)
{
for(int x=0;x<a;x++)
{
for(int y=0;y<b;y++)
{
System.out.print("*");
}
System.out.println();
}
}
public static void aa()
{
System.out.println("---------------");
}
public static void hh()
{
System.out.println("-------");
}
public static void cc(int a)
{ int he=0;
{for(int x=0;x<=a;x++)
he=x+he;
}
System.out.println(he);
}
public static int jb(int x,int y)
{
return x+y;
}
public static int jb(int x,int y,int c)
{
return x+y*c;
}
public static void jj(int x)
{
for (x=0;x<=9;x++)
{
for (e=0;e<=x;e++)
{
System.out.print(x+"*"+e+"="+x*e+"\t");
}
System.out.println();
}
}
} |