import java.io.*;
class OutCommand
{
public static void main(String args[])
{
System.out.println("output is:");
int l=args.length
for(int i=1;i<=l;i++)
{
for(int j=l-i;j<=i;j++)
{
System.out.prinln(" ");
}
for(int k=i;k<=i;k++)
{
System.out.prinln(args[k]);
}
}
}
}
class OutCommand
{
public static void main(String args[])
{
System.out.println("output is:");
int l=args.length
for(int i=1;i<=l;i++)
{
for(int j=l-i;j<=i;j++)
{
System.out.prinln(" ");
}
for(int k=i;k<=i;k++)
{
System.out.prinln(args[k]);
}
}
}
}
No comments:
Post a Comment