Originated From
AOL Search

Pyramid

 

  1. (Printing numbers in a pyramid pattern) Write a nested for loop that prints the following output:Cry

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

1

 

 

 

 

 

 

 

 

 

 

 

1

2

4

2

1

 

 

 

 

 

 

 

 

 

1

2

4

8

4

2

1

 

 

 

 

 

 

 

1

2

4

8

16

8

4

2

1

 

 

 

 

 

1

2

4

8

16

32

16

8

4

2

1

 

 

 

1

2

4

8

16

32

64

32

16

8

4

2

1

 

1

2

4

8

16

32

64

128

64

32

16

8

4

2

1

Liked this question? Tell your friends about it

Related Questions

Other people asked questions on similar topics, check out the answers they received:

Asked: Where can I buy CRYSTAL PYRAMIDS in New York ...

Where can I buy CRYSTAL PYRAMIDS in New York City?

Asked: Security question reset

how do you recover your security question or do you

Ask a Question... We'll forward it to people who know

More Questions

Muscle Pyramid - Bodybuilding Routines For Men

Blood doping is worse. That got Lance Armstrong put out of Tour de Force in France -- although in his case it was justified, due to earlier chemotherapy and bone marrow depleton.

How old are (currently) the pyramids in Egypt? But ...

Hey Jake, You are right, there has been a lot of speculation about the real age of the pyramids. Until now, no one theory has been ultimately proved to be the right one. However, scientists are pretty much in agreement now after a lot of testing projects that the Giza pyramids were built between ...

Why were pyramids built?

We won't know until we discover who built them and how they built them.

Where is Pyramid Lake?

dude how long have u lived in la la land ? its just north of LA off the golden state freeway , past magic mountain.{25miles] Bust out some cash and get a map .......GO LAKERS GO DODGER BLUE. EX ANGELENO IN TEXAS {I WILL ALWAYS LOVE L.A.}hi ...