Search:

Type: Posts; User: 18107

Search: Search took 0.20 seconds.

  1. Replies
    6
    Views
    272

    [SOLVED] Re: processing arrays

    I'll use one of my convoluted approaches.
    Thanks for the help.
  2. Replies
    6
    Views
    272

    [SOLVED] Re: processing arrays

    That's what I'm trying to do. I have a few solutions, but all of them take many lines and are inefficient.
    I wanted to know if there was a simple command to do that.



    The test is if temp[0][0]...
  3. Replies
    2
    Views
    245

    Re: Collecting user input error

    I would use the code:


    Scanner input = new Scanner(System.in);

    String firstName;
    String secondName;

    System.out.println("First Name");
    firstName = input.next;
  4. Replies
    6
    Views
    272

    [SOLVED] Re: processing arrays

    I didn't do any design, I'm new to Java and just messing around with code to see what is possible.
    The if statement checks if cube is the same as temp. If it is, it does nothing. If it isn't, it...
  5. Replies
    6
    Views
    272

    [SOLVED] processing arrays

    I currently have a list of numbers

    int[][] cube = new int [56][3];
    //numbers are input here
    the variable cube only has (approximately) 4 different numbers in it.
    e.g....
  6. Thread: Array (simple).

    by 18107
    Replies
    2
    Views
    256

    [SOLVED] Re: Array (simple).

    Thanks, it works now.
  7. Thread: Array (simple).

    by 18107
    Replies
    2
    Views
    256

    [SOLVED] Array (simple).

    This code should allow the user to input the array length (less that 10), input data into the array, then view the data in the array. What is wrong with the code, and how do I fix it?


    import...
Results 1 to 7 of 8