DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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 08: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, 09:29 AM
  2. Replies: 4
    Last Post: 05-22-2006, 09:23 PM
  3. Generate Managed Class
    By sentme_mail in forum .NET
    Replies: 1
    Last Post: 01-27-2006, 12:28 PM
  4. Replies: 0
    Last Post: 03-05-2001, 10:01 AM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links