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


Groups > comp.lang.java.programmer > #29933 > unrolled thread

Re: PRINTING DIAMOND SHAPE WITH LOOPS!

Started bypritampisal02@gmail.com
First post2014-09-08 01:54 -0700
Last post2014-10-06 20:26 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#29933 — Re: PRINTING DIAMOND SHAPE WITH LOOPS!

Frompritampisal02@gmail.com
Date2014-09-08 01:54 -0700
SubjectRe: PRINTING DIAMOND SHAPE WITH LOOPS!
Message-ID<99a764cd-95d1-4043-92c1-85b08579e9af@googlegroups.com>
1                                        1
1 2                                  2 1
1 2 3                            3 2 1
1 2 3 4                      4 3 2 1
1 2 3 4 5                5 4 3 2 1
1 2 3 4 5 6          6 5 4 3 2 1


i need code for this

[toc] | [next] | [standalone]


#29934

FromJoerg Meier <joergmmeier@arcor.de>
Date2014-09-08 11:09 +0200
Message-ID<1db29oxxzgr1m.2mo3vg31lgke.dlg@40tude.net>
In reply to#29933
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.

[toc] | [prev] | [next] | [standalone]


#30065

FromRoedy Green <see_website@mindprod.com.invalid>
Date2014-10-06 20:26 -0700
Message-ID<j9n63a97147ot6bq46v9lk18sa4r1o3ccs@4ax.com>
In reply to#29933
On Mon, 8 Sep 2014 01:54:38 -0700 (PDT), pritampisal02@gmail.com
wrote, quoted or indirectly quoted someone who said :

>i need code for this

NO YOU DO NOT.  You need to LEARN how to write such code. The actual
code will be totally useless. Nobody needs a to print a diamond.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
There are only two industries that refer to their customers as users.
~ Edward Tufte (born: 1942 age: 72)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web