Search:

Type: Posts; User: kookevk

Search: Search took 0.15 seconds.

  1. Replies
    9
    Views
    1,896

    Re: Scanner not working properly.

    I rearranged the order of input by asking for the name, address, then student id. But I still get a problem where I can't input the student's name!
    So I copy and pasted this to a new blank class and...
  2. Replies
    9
    Views
    1,896

    Re: Scanner not working properly.

    No I haven't found a solution.
  3. Replies
    9
    Views
    1,896

    Re: Scanner not working properly.

    System.out.print("Enter the student's name: ");
    name = input.nextLine(); //this input is read as the print statement below.
    System.out.print("Enter the id: (exactly 8 digits):...
  4. Replies
    9
    Views
    1,896

    Re: Scanner not working properly.

    College directory commands:
    add - add a new student
    find - find a specific student
    addCourse - add a course's grade points for a specific student
    login - get a specific student's login id...
  5. Replies
    9
    Views
    1,896

    Scanner not working properly.

    System.out.print("Enter the student's name: ");
    name = input.nextLine();
    System.out.print("Enter the id: (exactly 8 digits): ");
    id = input.nextInt();
    if ((id / LOGIN_ID_DIGITS) > 10 || (id /...
Results 1 to 5 of 5