Forum: Java
Sep 29th, 2007, 2:09 PM
|
|
Replies: 9
Views: 351
|
Forum: Java
Sep 29th, 2007, 12:40 PM
|
|
Replies: 9
Views: 351
Thanks DaWei. I found it immediately when I...
Thanks DaWei. I found it immediately when I started going through by hand. I was trying to access numbers[n-i] instead of numbers[(n-1)-i).
I have another question. Look at this segment of code. ...
|
Forum: Java
Sep 29th, 2007, 3:36 AM
|
|
Replies: 9
Views: 351
code to add numbers in an array
This program should be simple. I think, however, I'm misunderstanding how Java handles arrays. This code compiles fine but when my for loop tries to access the elements I get an out of bounds...
|
Forum: Java
Sep 26th, 2007, 10:08 PM
|
|
Replies: 5
Views: 206
The answer to your question is yes but this...
The answer to your question is yes but this happens to be an assignment. As such I'm prohibited from using the Date class. My goal in making this post was to pick the brains of experienced...
|
Forum: Java
Sep 26th, 2007, 8:43 PM
|
|
Replies: 5
Views: 206
code for displaying tomorrow's date
This is some code I wrote for determining dates. The user enters a date and the following date is displayed. It handles special cases like leap year and such. Everything works as far as I can...
|