Search:

Type: Posts; User: Blinktwink

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,145

    Re: Removing fractions from Integers

    2105
    Here's the finished product :)
  2. Replies
    7
    Views
    1,145

    Re: Removing fractions from Integers

    Oh wow I can't believe I didn't see what I was doing wrong. Feel like a right idiot now. It was so obvious yet somehow it eluded me, it always seems to be that way though. Thanks for the help this...
  3. Replies
    7
    Views
    1,145

    Re: Removing fractions from Integers

    i stands for index. ii is simply my second index for my nested loop. It's the incrementation of these which controls the loop. I understand that there is a syntax 'for each' that I haven't quite...
  4. Replies
    7
    Views
    1,145

    Re: Removing fractions from Integers

    Oh really? Thank you for that informative tidbit, must be another error in my code some where.

    --- Update ---

    Turns out I'm getting an "Array out of bounds exception" with this line.


    int b...
  5. Replies
    7
    Views
    1,145

    Removing fractions from Integers

    Sorry for the vague title it's 3:30 in the morning and I really want to get this done.

    My problem is that I am adding together two integers and dividing by two to find the average of them....
Results 1 to 5 of 5