Search:

Type: Posts; User: asm_int3

Search: Search took 0.08 seconds.

  1. Re: Exercise i have been stuck on for several days now

    I believe the issue is your for loop condition.

    Example: user enters 7
    First iteration, 7 % 10 >= 0, maxDigit = 7
    Second iteration, 7 % 10 >= 7, maxDigit = 7 (you enter an infinite loop)
  2. Replies
    4
    Views
    619

    Re: Why does my code not work?

    Did you mean student in the add method?

    [code]
    public void setStudents(Student student){
    students.add((Student) student);
    }
    [code]
Results 1 to 2 of 2