for(i=0;i<=n;i++)
{
System.out.println();
for(j=1;j<=n-i;j++)
System.out.print(j);
for(j=0;j<2*i;j++)
System.out.print(" ");
for(j=n-i;j>0;j--)
System.out.print(j);
}
}
}
OUTPUT IS
PLZ DESCRIBE ME THAT HOW TO MAKE THIS PROGRAM AND WHATS THE WORKING OF EVERY LOOP
Related Tutorials/Questions & Answers:
Advertisements
full description of program codefull
description of program code import java.util.*;
class StringExample6
{
public static void main(String[] args)
{
Scanner input....
i've a problem that plz describe me full
description of this code
thanks
full description of program codefull
description of program code import java.util.*;
class StringExample6
{
public static void main(String[] args)
{
Scanner input....
This is the full
description for your second output
full description of program codefull
description of program code escribe me below code how this program code is make and work, and those method is use in this why?
import java.util.*;
class SortList
{
public static void main(String[]args)
{
Scanner input=new
how to get description for each filehow to get
description for each file hi,
how to get
description... file
if the user select 10 file to upload........get the
description for each file
without
description dont upload.....
u have any idea......code