class Print
{
public static void main (String args[])
{
int i;
for(i=0;i<5;i++)
{
System.out.println(" *********".substring(i,4+2*i));
}
}
}
{
public static void main (String args[])
{
int i;
for(i=0;i<5;i++)
{
System.out.println(" *********".substring(i,4+2*i));
}
}
}
No comments:
Post a Comment