| | |
java doubt - urgent
![]() |
What have you tried so far, or, at least, what are your ideas as to how it could work?
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by nammi_aqua
I am not able to code this is java.
I have to use nested loops.
The pattern I need to get is
1 2 3 4 5 6
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
int end = 5;
for(int i=end; i>= 1;i--){
System.out.println();
for(int j=1;j<=i;j++){
System.out.print(j);
}
}
it's not urgent, and it's not "a doubt". In fact that's a completely incorrect way to use the word "doubt".
Do your own homework, we're not here to help you cheat your way to a diploma so you can then steal our jobs.
Do your own homework, we're not here to help you cheat your way to a diploma so you can then steal our jobs.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- Drag and Drop (Java)
- java doubt-urgent (Java)
Other Threads in the Java Forum
- Previous Thread: J2ME wireless mobile applcation easy help.
- Next Thread: Is there a Floating Scrollbar component for Tables
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card class client code collision component crashcourse css csv database eclipse ee error fractal free ftp game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linked linux list loan machine map method methods migrate mobile netbeans objects oriented output phone physics printf problem program programming project projects radio recursion replaydirector reporting researchinmotion rotatetext scanner se server service set sms software sort sql string swing test textfield threads tree trolltech ubuntu utility windows






