Results 1 to 8 of 8
- 07-24-2012, 03:08 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 4
- Rep Power
- 0
- 07-24-2012, 03:23 PM #2
Re: Need help from pros in java"please Read"
Don't double post, and don't post beginner questions in the Advanced Java section. Your other thread has been removed.
Please go through all of the following:
Forum Rules -- especially the second and third paragraphs
Guide For New Members
BB Code List - Java Programming Forum
How to ask questions the smart way
Note that this is a forum, not a free homework service. To get help here, you have to show some effort and make it clear what exactly you need help in understanding.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 07-24-2012, 03:29 PM #3
Member
- Join Date
- Jul 2012
- Posts
- 4
- Rep Power
- 0
Re: Need help from pros in java"please Read"
sorry for bothering. but in a way that i want to learn more about java..
sometimes starts with questioning someone more familiar with it...
db ^_^
- 07-24-2012, 03:33 PM #4
Re: Need help from pros in java"please Read"
Six minutes isn't long enough to read through the four web pages I linked. My conclusion is that you aren't interested in taking advice, you're just looking for some sucker to do your homework for you.
I invite you to prove me wrong.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 07-24-2012, 03:39 PM #5
Member
- Join Date
- Jul 2012
- Posts
- 4
- Rep Power
- 0
Re: Need help from pros in java"please Read"
public static void main(String[] args)
{
int Array[] = new int [5];
for(int number = 1;number <= Array.length;number++)
{
for(int number2 = 1;number2 <= number;number2++)
{
System.out.print(number+" ");
}
System.out.println();
}
}
}
here... i just got confused in the while loop so... i hoped someone could help me here...
i'm not looking for someone to make my assignment.. 4hrs of thinking for the while and do while for the number 1.. and i just cant figure it out..
- 07-24-2012, 04:57 PM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Re: Need help from pros in java"please Read"
You didn't read the links did you, because if you had you might have thought ot add [code] tags [/code] to your code.
Please do not ask for code as refusal often offends.
- 07-24-2012, 05:45 PM #7
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: Need help from pros in java"please Read"
I don't see a while loop here, actually. I think that you might mean "for-loop." Since you mentioned that you need to use a for-loop, while loop, and do-while loop in your first post, I recommend that you learn about those first: The while and do-while Statements (The Java™ Tutorials > Learning the Java Language > Language Basics) + The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
Once you understand the mechanics of what you are trying to do, you now have the power to complete this assignment. I have full faith that you can figure out the logic necessary to produce those patterns."Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 07-24-2012, 06:46 PM #8
Member
- Join Date
- Jul 2012
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Got struck with this :- " Exception in thread "main" java.lang.NullPointerException"
By Vermont in forum New To JavaReplies: 5Last Post: 12-21-2011, 06:44 PM -
"pass argument:what does it mean?" can you pls read and give me some feedback
By edelric666 in forum New To JavaReplies: 8Last Post: 11-04-2010, 11:03 PM -
Java, Military Format using "/" and "%" Operator!!
By sk8rsam77 in forum New To JavaReplies: 11Last Post: 02-26-2010, 03:03 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks