Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29934

Re: PRINTING DIAMOND SHAPE WITH LOOPS!

From Joerg Meier <joergmmeier@arcor.de>
Newsgroups comp.lang.java.programmer
Subject Re: PRINTING DIAMOND SHAPE WITH LOOPS!
Date 2014-09-08 11:09 +0200
Message-ID <1db29oxxzgr1m.2mo3vg31lgke.dlg@40tude.net> (permalink)
References <bd7dee67.0408241759.3884e4e9@posting.google.com> <99a764cd-95d1-4043-92c1-85b08579e9af@googlegroups.com>

Show all headers | View raw


On Mon, 8 Sep 2014 01:54:38 -0700 (PDT), pritampisal02@gmail.com wrote:

public class DoYourHomework {
  public static void main(String[] args) {
    System.out.println("1                                        1");
    System.out.println("1 2                                  2 1");
    System.out.println("1 2 3                            3 2 1");
    System.out.println("1 2 3 4                      4 3 2 1");
    System.out.println("1 2 3 4 5                5 4 3 2 1");
    System.out.println("1 2 3 4 5 6          6 5 4 3 2 1");
  }
}

> i need code for this

http://docs.oracle.com/javase/tutorial/

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: PRINTING DIAMOND SHAPE WITH LOOPS! pritampisal02@gmail.com - 2014-09-08 01:54 -0700
  Re: PRINTING DIAMOND SHAPE WITH LOOPS! Joerg Meier <joergmmeier@arcor.de> - 2014-09-08 11:09 +0200
  Re: PRINTING DIAMOND SHAPE WITH LOOPS! Roedy Green <see_website@mindprod.com.invalid> - 2014-10-06 20:26 -0700

csiph-web