My revised program...
public class Un8
{
public static void main( String [] args )
{
int [] even = new int [ 100 ];
int [] odd = new int [ 100 ];
Type: Posts; User: syang
My revised program...
public class Un8
{
public static void main( String [] args )
{
int [] even = new int [ 100 ];
int [] odd = new int [ 100 ];
sorry, I thought that my replies weren't displaying, until I saw the next page button. I'm new to this site, ok?
This is what it tells me after I added System.out.println( i and j );
c:\Program...
c:\myjavaprograms\java Un8
1
1
1
1
1
1
It just goes on and on, keeps printing out 1 over and over again.
It gives me a different number everytime. Last time it was 0, the first time I ran it...
Actually, I came up with a new edited code, shown below... but when I run it, it gives me unlimited numbers, I'm not sure how to exactly describe it.
public class Un8
{
public static void...
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\selena>cd c:\program files\java\jdk1.6.0_21\bin
c:\Program...
I can't copy paste it because it is in command prompt and I can't select anything... what should I do?
I just installed netbeans IDE, it often tells me 'reaches end of file while parsing', what does...
I added parentheses after it, but it still displays the error messages...
I'm writing a program that generates 100 random integers from 0 to 25 and stores them in an array. Then, the program should call class methods to sort the odd numbers into an array and the even...