-
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.
-
What are you trying to do?
What are you doing?
-
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
-
Replies: 1
Last Post: 06-18-2006, 09:29 AM
-
By payung81 in forum Java
Replies: 4
Last Post: 05-22-2006, 09:23 PM
-
By sentme_mail in forum .NET
Replies: 1
Last Post: 01-27-2006, 12:28 PM
-
Replies: 0
Last Post: 03-05-2001, 10: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
Forum Rules
|
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
|
Bookmarks