File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes For loop....Pyramid Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

For loop....Pyramid Program

David Pedisich
Greenhorn

Joined: Sep 30, 2004
Posts: 6
I'm taking Computer Science AP and I'm having a problem writting the following program. I'm farely new to java....still trying to think like a computer. Anyways

1
232
34543
4567654
567898765


thats what the output should look like.
the number on top is what is read by the computer and increased by 2 everytime hence 3,5,7,9
the numbers printed out to the right and left are decressed by 1
my teacher says i'm suppose to use the for loop to create the program. i'm really lost. please help!!!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

Please do not post the same question in more than one forum. I am closing this one as the other one received a response.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: For loop....Pyramid Program
 
Similar Threads
For loop Pyramid Program
Question about restart
stars
Recursion Formula
Making a mouse click in Java?