Search:

Type: Posts; User: angstrem

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    1,137

    Re: Removing fractions from Integers

    Of course you get. Look at the meaning of rows and cols variables. Also, remind me, why might you need i and ii variables in the loops?
  2. Replies
    7
    Views
    1,137

    Re: Removing fractions from Integers

    You'll never get doubles as a result of int/int division. So (a + b) / 2 will always be an integer.
Results 1 to 2 of 2