Search:

Type: Posts; User: ThuggedOut

Search: Search took 0.25 seconds.

  1. Replies
    11
    Views
    384

    Re: Seaching an array confusion

    So do you think I should put another catch statement?
  2. Replies
    11
    Views
    384

    Re: Seaching an array confusion

    here is what I came up with. What do you think?



    import java.util.Scanner;
    import java.util.InputMismatchException;
    import java.util.Formatter;
    import java.util.Arrays;
  3. Replies
    11
    Views
    384

    Re: Seaching an array confusion

    Also this is the output if it makes things clearer


    Welcome to Game Management Program
    =====================================
    P - Print the sales information of a specified game
    U - Update the...
  4. Replies
    11
    Views
    384

    Re: Seaching an array confusion

    I think i understand what your saying about prompting them for the game title. once they tell you the title you input it into the title string, then you run a for loop searching through the array and...
  5. Replies
    11
    Views
    384

    Re: Seaching an array confusion

    well this is basically my process class. I will have a different method with a main like a test class to ask the user what they would like to do. It is not finished but his is what I have done:


    ...
  6. Replies
    11
    Views
    384

    Seaching an array confusion

    Hello, so I am writing a program and had to create a one dimensional array and a two dimensional array. Here is my arrays:

    Game [] games;
    private double[][]hoursArray = {{40, 60, 900,...
Results 1 to 6 of 7