Hello i just want to know how to generate the ff.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Hello i just want to know how to generate the ff.

  1. #1
    Join Date
    Dec 2006
    Posts
    10

    Hello i just want to know how to generate the ff.

    1. 2
    4
    6
    8
    9
    10
    12
    14
    16
    18
    20


    2. *
    **
    ***
    ****
    *****

    3. *****
    ****
    ***
    **
    *
    coz i really forgot how to generate this simple code.


    help me to ouput that code.
    Last edited by robmars; 12-01-2006 at 09:32 AM.

  2. #2
    Join Date
    May 2005
    Location
    Ontario, Canada
    Posts
    173

    What are you trying to do?

    What are you doing?

  3. #3
    Join Date
    Dec 2006
    Posts
    10

    i want to output the ff.

    i want to output the following like this one....

    int[] x = new int[10];

    for (i=1; i<x; i++<){
    System.out.println(x[i]);
    x[i] = i+1;
    }



    like that...... so the output will be like this >>>

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10

    so i want to output the previous post.

Similar Threads

  1. Replies: 1
    Last Post: 06-18-2006, 10:29 AM
  2. Replies: 4
    Last Post: 05-22-2006, 10:23 PM
  3. Generate Managed Class
    By sentme_mail in forum .NET
    Replies: 1
    Last Post: 01-27-2006, 01:28 PM
  4. Replies: 0
    Last Post: 03-05-2001, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center